]> PHS Git Server - phs-api.git/commitdiff
Testing cloning path.
authorcharleswrayjr <charleswrayjr@gmail.com>
Sat, 6 Sep 2025 00:36:00 +0000 (19:36 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Sat, 6 Sep 2025 00:36:00 +0000 (19:36 -0500)
app.js
src/routes/git.routes.js
src/routes/index.js

diff --git a/app.js b/app.js
index 8c898add58afe5409aa38709e67c4e24b33920fd..9058e778c84c094c4de455373616a613bb796889 100755 (executable)
--- a/app.js
+++ b/app.js
@@ -25,8 +25,6 @@ const http = require( 'http' ).createServer( app );
 app.set('etag', false)
 
 app.use((req, res, next) => {
-  console.log( req.body );
-  console.log( req.originalUrl );
   res.set('Cache-Control', 'no-store');
   next()
 });
index 2f789e8cc2c72bab25b7c4ac17816b67a9b113d1..420a9dc0871a6535b7f6a8531de4fbbc118f3c8c 100755 (executable)
@@ -5,11 +5,6 @@ const gitController = require( '../controllers/git.controller' );
 
 module.exports = ( passport ) => {
   // router.use( validateAuth( passport ) );
-  router.use( ( req, res, next ) => {
-    console.log( req.body );
-    console.log( req.originalUrl );
-    next();
-  });
   router.post( '/create-repo', gitController.createRepo );
   router.get( '/', gitController.getRepos );
   router.delete( '/:name', gitController.deleteRepo );
index 0327f57be7cf275f4c04729a743f40e406170531..ab3c644a9e7de1447a48c82d46be0fb0a22c50ee 100755 (executable)
@@ -2,11 +2,6 @@ const express = require( 'express' );
 const router = express.Router();
 
 module.exports.APIRoutes = ( passport ) => {
-  router.use( ( req, res, next ) => {
-    console.log( req.body );
-    console.log( req.originalUrl );
-    next();
-  });
 
   router.use( '/git', require( './git.routes' )( passport ) );
   router.use( '/docker', require( './docker.routes' )( passport ) );