Merge pull request #254 from coralproject/graphql

Graphql redux (as in 'the return of')
This commit is contained in:
David Erwin
2017-01-24 18:02:18 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ const buildOptions = (inputOptions = {}) => {
if (options._csrf) {
switch (options.method.toLowerCase()) {
case 'POST':
case 'post':
case 'put':
case 'delete':
options.headers['x-csrf-token'] = options._csrf;
+1 -1
View File
@@ -15,7 +15,7 @@ router.get('/login', (req, res, next) => {
});
router.get('*', (req, res) => {
res.render('ADMIN', {basePath: '/client/coral-admin'});
res.render('admin', {basePath: '/client/coral-admin'});
});
module.exports = router;