Skip to content
New issue

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

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

Already on GitHub? # to your account

Add support for 'basepath' option #184

Closed
wilsonpage opened this issue May 4, 2017 · 3 comments
Closed

Add support for 'basepath' option #184

wilsonpage opened this issue May 4, 2017 · 3 comments

Comments

@wilsonpage
Copy link

As per nws docs

If you want all requests to resolve to a base path (i.e. http://localhost:3030/basepath) without having to place all files into a src/basepath sub-directory, use the -b flag:

nws -b basepath

This means allows you to mount the server on different path contexts.

@leo
Copy link
Contributor

leo commented Jun 20, 2017

Thanks for the effort you've put into researching this, but I think the project is already way too complex. In turn, I don't think it's good idea to support such an edge case.

I hope you understand that! 😊

@leo leo closed this as completed Jun 20, 2017
@conorwsullivan
Copy link

Hi leo, can you document how to implement this using rewrites or redirects? It seems like it should be straightforward to do so but I haven't been able to do it correctly.

@dsogari
Copy link

dsogari commented Mar 8, 2024

See this #784 (comment)

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants