No more jquery in adminpanel

This commit is contained in:
Kasper Rynning-Tønnesen
2018-08-13 13:19:24 +02:00
parent c699db6769
commit 44b065672d
4 changed files with 74 additions and 51 deletions

View File

@@ -32,6 +32,7 @@ app.set('view engine', 'handlebars');
app.set('trust proxy', '127.0.0.1');
app.enable('view cache');
app.set('views', publicPath);
app.use( bodyParser.json() ); // to support JSON-encoded bodies
app.use(bodyParser.urlencoded({
extended: true
}));