Commit 8d6e062b authored by Jarrod's avatar Jarrod 💬

Shut up logging

parent ef190d46
......@@ -14,7 +14,11 @@ module.exports = new Pluggable({
actions: {
'GET /ahoy.js': { action: 'get-ahoyjs', cache: 30 },
'GET /apidoc': { action: 'apidoc', cache: 30 },
'GET /apidoc': {
action: 'apidoc',
cache: 30
// TODO: Permission based routing stuff
},
},
hook: {
......@@ -25,7 +29,6 @@ module.exports = new Pluggable({
'/*': {
skipAssets: true,
fn: async function (req, res, next) {
sails.log.warn('Runnin ahoy beforeEach')
userMiddleware(req, res, () => {
permissionsMiddleware(req, res, next)
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment