stewartpark / Flask-JSGlue

Flask-JSGlue helps hook up your Flask application nicely with the front end.
80 stars 39 forks source link

JsGlue should behave like Flask.url_for #16

Open imaia opened 7 years ago

imaia commented 7 years ago

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 commented 7 years ago

Even better, it could be configurable!