I'm running two Flask-Apps on my server simultaneously. Now I wanted to make a run.pyin their parent directory to serve all of their routes.
This is the structure:
| - run.py
| - app1/
| |- app1.py
| |- static
| |- templates
| - app2/
| |- app2.py
| |- static
| |- templates
Each of the Apps have their own routes.
My question is:
What do I have to write into the run.py-File so that when I browse to the_url\app1\ I get the '/'-route of my app1.py?
And what do I have to write so that the_url/app1/some/url leads me to the /some/url-route of my app1 (and app2)
Thanks for your answers