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

301 redirect for query params #205

Open
zba opened this issue May 10, 2018 · 1 comment
Open

301 redirect for query params #205

zba opened this issue May 10, 2018 · 1 comment

Comments

@zba
Copy link

zba commented May 10, 2018

hello,

I trying to use node-static command line, unfortunately I found that it does 301 redirect, if I add parameters to path... I sure this is wrong, 1 - because redirect is permanent, 2, because it should just serve index file, not add additional redirects.

Do you mind to add an option to switch off such behaviour

@zba
Copy link
Author

zba commented May 10, 2018

oh seems --spa does this... ,but anyway why 301 ? it makes me sad, because I using proxy to load the resource and after 301, I should reload with no-cache.

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