Fix for wsgi startup script

This commit is contained in:
mcbloch 2022-05-02 18:18:32 +02:00
parent 2271b0427c
commit 9c00fcc0cf

View file

@ -18,8 +18,9 @@ sys.path.append(os.getcwd())
# Phusion Passenger expects this file to be called `passenger_wsgi.py`
# and the WSGI object to be called `application`
from app import app as application
from app import create_app
# For running on the server with passenger etc
if __name__ == "__main__":
application = create_app()
application.run()