I have a Flask App, which will run later as a "subpart" of a server and I am unsure how to configure that.
As an example:
localhost/OtherServer/rest/myFlask/
OtherServer is an IIS Website which normally handles all my requests, but for certain requsts control is handed to Flask - e.g. all routes which are found unter myFlask/*.
This already works thanks to WFASTCGI and some config magic, but in Flask I have to supply to the full URL for each route:
@app.route('/OtherServer/rest/myFlask/status')
I would like to only specify the part including or after myFlask, particularly because the firt part of the url is configurable in a C#-app and getting the name at runtime is a major headache. So:
@app.route('/myFlask/status')