windhamdavid 2 years ago
parent
commit
d5e0b19f11
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app.js

+ 1 - 1
app.js

@@ -92,7 +92,7 @@ app.use(function(req, res, next) {
 /********** routes controllers **************/
 
 var router = express.Router();
-app.use(router);
+app.use('/', router);
 
 var homeController = require('./controllers/home_control');
 var userController = require('./controllers/user_control');