X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app.js;h=a13ce032a436d1debde3ccb0d5da219fbb0775a3;hb=cfe24a278b68cd859e8f98cb0d8be92d49508a32;hp=5cc70f409ab1ff00e5819baffc7f4db16923fa17;hpb=591ad40c9613c91069047ca0781a4b38fd2a8a1b;p=perso%2FImmae%2FProjets%2FNodejs%2FSurfer.git diff --git a/app.js b/app.js index 5cc70f4..a13ce03 100755 --- 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());