The server displays the previous hello world welcome application instead of the current one. The hello world application files has been deleted but problem persist showing te "hello from flask"
These are the directories path:
- /home/pysoft/pythonProject
- /home/pysoft/
- WSGI configuration file:/var/www/pysoft_pythonanywhere_com_wsgi.py
...and the configuration for wsgi:
import sys
# add your project directory to the sys.path
project_home = '/home/pysoft/pythonProject'
if project_home not in sys.path:
sys.path = [project_home] + sys.path
# import flask app but need to call it "application" for WSGI to work
from runserver import app as application # noqa
according to the instructions, if I have understood them correctly, everything is correct. Although it does not give errors and shows an application, the application that shows is the welcome one that, as I said, I even deleted it.
I don't know what I haven't done well :(
[edit by admin: formatting]