I'm working on a Flask application with many routes under different subdomains. It uses the SERVER_NAME
setting and sets subdomains on different blueprints to do initial routing based on the subdomain.
I'm trying to configure a route that bypasses the requirement for the host to match SERVER_NAME
now, and can't figure it out. Is it possible to do this at all while keeping SERVER_NAME
set?
i.e. I want a specific route to be accessible even if SERVER_NAME="mydomain.com"
and the request is for http://localhost:80/my/special/route/