Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ subdomain
Function
subdomain
tests/test_basic.py:1538–1539 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1536
1537
@app.route(
"/"
, subdomain=
"foo"
)
1538
def
subdomain():
1539
return
"subdomain"
1540
1541
app.config[
"SERVER_NAME"
] =
"dev.local:5000"
1542
rv = client.get(
"/"
)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected