Flask-JSGlue
Flask-JSGlue copied to clipboard
JsGlue should behave like Flask.url_for
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.
Even better, it could be configurable!