You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from flask import Module
app = Module(__name__, subdomain="sub")
And when I use url_for("static", ...) in a template, it returns "http://example.net/static" instead of "/static"("http://sub.example.net/static"). So I added some code for debugging to flask/app.py(line 512).
The version is 0.6.
I made a
flask.Module
withsubdomain
option.And when I use
url_for("static", ...)
in a template, it returns"http://example.net/static"
instead of"/static"
("http://sub.example.net/static"
). So I added some code for debugging to flask/app.py(line 512).Result is:
The url rule for
static
, which is added automatically doesn't have asubdomain
option.The text was updated successfully, but these errors were encountered: