]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/blobdiff - app.js
Fix session serialization
[perso/Immae/Projets/Nodejs/Surfer.git] / app.js
diff --git a/app.js b/app.js
index 5cc70f409ab1ff00e5819baffc7f4db16923fa17..a13ce032a436d1debde3ccb0d5da219fbb0775a3 100755 (executable)
--- a/app.js
+++ b/app.js
@@ -25,7 +25,7 @@ router.put('/api/files/*', auth.ldap, multipart, files.put);
 router.delete('/api/files/*', auth.ldap, files.del);
 
 // healthcheck in case / does not serve up any file yet
-router.get('/', function (req, res) { res.sendfile(path.join(__dirname, '/app/welcome.html')); });
+router.get('/', function (req, res) { res.sendFile(path.join(__dirname, '/app/welcome.html')); });
 
 app.use(morgan('dev'));
 app.use(compression());