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

JsGlue should behave like Flask.url_for #16

Open
imaia opened this issue Feb 7, 2017 · 1 comment
Open

JsGlue should behave like Flask.url_for #16

imaia opened this issue Feb 7, 2017 · 1 comment

Comments

@imaia
Copy link

imaia commented Feb 7, 2017

When external is provided, JsGlue.url_for should use SERVER_NAME to build the path, not location, just like Flask.url_for. This behavior is quite useful for SPA websites.

@imaia
Copy link
Author

imaia commented Feb 7, 2017

Even better, it could be configurable!

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

No branches or pull requests

2 participants