Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support server-side routes to non /api paths #64

Open
dazwin opened this issue Jul 31, 2015 · 1 comment
Open

Support server-side routes to non /api paths #64

dazwin opened this issue Jul 31, 2015 · 1 comment

Comments

@dazwin
Copy link

dazwin commented Jul 31, 2015

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
Copy link
Author

dazwin commented Jul 31, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant