meanio icon indicating copy to clipboard operation
meanio copied to clipboard

Support server-side routes to non /api paths

Open dazwin opened this issue 9 years ago • 1 comments

If I implement a route as follows...

   app.get('/permalink/:slug', function(req, res, next) { next(); });

it causes the browser to simply throw a 404.

Per @BrockMcKean, special handling has been implement on /api to avoid #! in URLs

I'd like to be able to implement non /api routes server-side, preferably with no additional code other than implement the express route per above.

dazwin avatar Jul 31 '15 19:07 dazwin

This may also be the reason that Swagger (at /docs) currently does not work

dazwin avatar Jul 31 '15 20:07 dazwin