diff --git a/app/routes/login.js b/app/routes/login.js index 221d87b..1ba29a2 100755 --- a/app/routes/login.js +++ b/app/routes/login.js @@ -2,7 +2,7 @@ var express = require('express'); var router = express.Router(); var path = require('path'); -router.get('/', function(req, res, next) { +router.get('/', function(req, res) { res.sendFile(path.join(__dirname, '../../public/views', 'login.html')); }); diff --git a/app/routes/panel.js b/app/routes/panel.js index a62517b..f1ebd4a 100755 --- a/app/routes/panel.js +++ b/app/routes/panel.js @@ -2,7 +2,7 @@ var express = require('express'); var router = express.Router(); var path = require('path'); -router.get('/', function(req, res, next) { +router.get('/', function(req, res) { res.sendFile(path.join(__dirname, '../../public/views', 'panel.html')); }); diff --git a/app/routes/register.js b/app/routes/register.js index e04f90a..0411eac 100755 --- a/app/routes/register.js +++ b/app/routes/register.js @@ -2,7 +2,7 @@ var express = require('express'); var router = express.Router(); var path = require('path'); -router.get('/', function(req, res, next) { +router.get('/', function(req, res) { res.sendFile(path.join(__dirname, '../../public/views', 'register.html')); });