Add note about Feathers limitation on mounting services at root path

parent 80141f1e
......@@ -81,6 +81,10 @@ app.get('/followers', function (req, res, next) {
res.send({})
})
// We cannot mount a Feathers service at root so this is a workaround.
// (See the root-service-error branch for a non-working example of how
// it would look if we could.)
app.all('/', function (req, res, next) {
res.format({
......
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