I have a Flask application which I want to upload to a server. The server has the structure
www.mypage.com/newDirectory. My question is: how can I deploy my web app in order to introduce a middleware including
newDirectory? I have already seen that without this middleware, the web is unable to find the correct paths of the static elements.
PS: I know that this is possible, as shown here, but I do not really get the actual implementation in order to encapsulate my whole page to