Flask-JSGlue icon indicating copy to clipboard operation
Flask-JSGlue copied to clipboard

JsGlue should behave like Flask.url_for

Open imaia opened this issue 9 years ago • 1 comments

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 avatar Feb 07 '17 18:02 imaia

Even better, it could be configurable!

imaia avatar Feb 07 '17 18:02 imaia