Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork16.7k
Description
Currently when checkingflask routes it provides all routes butit is no way to see which routes are assigned to which subdomain.
Default server name:
SERVER_NAME: 'test.local'
Domains (sub-domains):
test.test.local
admin.test.local
test.local
Adding blueprints:
app.register_blueprint(admin_blueprint,url_prefix='',subdomain='admin')
app.register_blueprint(test_subdomain_blueprint,url_prefix='',subdomain='test')
$ flask routes * Tip: There are .env or .flaskenv files present. Do "pip install python-dotenv" to use them.Endpoint Methods Rule------------------------------------------------------- --------- ------------------------------------------------admin_blueprint.home GET /hometest_subdomain_blueprint.home GET /homestatic GET /static/<path:filename>...Feature request
It will be good to see something like below (that will make more clear which route for which subdomain, because now need to go and check configuration).
If it is not possible to fix routes, can you add or tell which method(s) should be used to get below information from flask?
$ flask routes * Tip: There are .env or .flaskenv files present. Do "pip install python-dotenv" to use them.Domain Endpoint Methods Rule----------------- ---------------------------------------------------- ---------- ------------------------------------------------admin.test.local admin_blueprint.home GET /hometest.test.local test_subdomain_blueprint.home GET /hometest.local static GET /static/<path:filename>...