I setup an app with Python Setup App feature, on a cPanel server.
The app is in a folder /home/user/app
When setting it up, a folder /home/user/app/public was created and as I understood, any images/css files placed on that folder would be served directly.
But I am getting all 404 errors.
the app url is https://www.example.com/app
Ive tried accessing the images with (https://www.example.com/app)https://www.example.com/app/public/test.jpg, or (https://www.example.com/app/public/test.jpg)[https://www.example.com/app/test.jpg, I get 404 in both cases.
The app is a Flask app. What I am seeing is that Flask app is called for urls at /app/public. How do I need to set this up so the assets on that folder are directly served by Passenger?
Thank you.](https://www.example.com/app/test.jpg)
The app is in a folder /home/user/app
When setting it up, a folder /home/user/app/public was created and as I understood, any images/css files placed on that folder would be served directly.
But I am getting all 404 errors.
the app url is https://www.example.com/app
Ive tried accessing the images with (https://www.example.com/app)https://www.example.com/app/public/test.jpg, or (https://www.example.com/app/public/test.jpg)[https://www.example.com/app/test.jpg, I get 404 in both cases.
The app is a Flask app. What I am seeing is that Flask app is called for urls at /app/public. How do I need to set this up so the assets on that folder are directly served by Passenger?
Thank you.](https://www.example.com/app/test.jpg)
Comment