Commit 151f5b81 authored by Jarrod's avatar Jarrod 💬

Don't clobber sails' shadow routes

parent 8ef162ec
Pipeline #8428 passed with stage
in 19 seconds
......@@ -53,16 +53,6 @@ module.exports = new Pluggable({
next()
}
}
},
// TODO: Maybe remove this for now. Without it we can add the old express app "under" this version
// so that endpoints can be overridden in sails land and will take pref. over the old version :)
after: {
'/*': {
fn: (req, res, next) => {
return res.badRequest('Endpoint not found')
}
}
}
},
}
......
{
"name": "@nahanil/ahoy",
"version": "0.2.0",
"version": "0.2.1",
"description": "",
"main": "lib/index.js",
"scripts": {
......
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