Fix wsgi startup script for real

This commit is contained in:
mcbloch 2022-05-02 18:21:27 +02:00
parent 9c00fcc0cf
commit fec9d660c3

View file

@ -20,7 +20,8 @@ sys.path.append(os.getcwd())
# and the WSGI object to be called `application`
from app import create_app
application = create_app()
# For running on the server with passenger etc
if __name__ == "__main__":
application = create_app()
application.run()