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

Option for HTML5 Mode urls? #9

Open
joshjung opened this issue Dec 22, 2017 · 1 comment
Open

Option for HTML5 Mode urls? #9

joshjung opened this issue Dec 22, 2017 · 1 comment

Comments

@joshjung
Copy link

We love using NWS because it is so lightweight, but one feature we really need is the ability to have a fallback file in case a static path does not exist. If this feature were implemented, we could then use NWS with our SPA. As it stands now, paths like the following break:

http://localhost:3030/project/project_1486113493_50a4c052-ca48-4fce-8f23-46753786181c/report/inspection_albano_C0D66862-A683-4879-93FE-E2B58E539DD4/fill?t=2WbxQ8

Would this feature be easy to implement?

@knpwrs
Copy link
Owner

knpwrs commented Dec 23, 2017

It could possibly be implemented with something like this: https://www.npmjs.com/package/express-history-api-fallback

I'd be willing to accept a pull request.

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

2 participants