Fix wsgi startup script for real
This commit is contained in:
parent
9c00fcc0cf
commit
fec9d660c3
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@ sys.path.append(os.getcwd())
|
||||||
# and the WSGI object to be called `application`
|
# and the WSGI object to be called `application`
|
||||||
from app import create_app
|
from app import create_app
|
||||||
|
|
||||||
|
application = create_app()
|
||||||
|
|
||||||
# For running on the server with passenger etc
|
# For running on the server with passenger etc
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
application = create_app()
|
|
||||||
application.run()
|
application.run()
|
||||||
|
|
Loading…
Reference in a new issue