Hello,
Is it possible to disptach multiple flask aplications, like DispatcherMiddleware does ? Regards Salvatore
Hello,
Is it possible to disptach multiple flask aplications, like DispatcherMiddleware does ? Regards Salvatore
That seems to work
from werkzeug.wsgi import DispatcherMiddleware
from flaskr import app as main_application
application = DispatcherMiddleware(main_application)
I am also using DispatcherMiddleware.
Yup. Using DispatcherMiddleware
works fine as detailed in the SO answer above.
I am looking into a similar setup and want to verify, that using werkzeug.wsgi import DispatcherMiddleware
does not imply or necessitate the use of the low-power development server as mentioned here: Flask docs
Basically, if I follow the instructions in the StackOverflow answer, will my app be using the normal PythonAnywhere WSGI server? I'm 98% sure but wanted to check. Thanks.
Yes, it will.