fix(wsgi): added docstring
This commit is contained in:
1 parent
c51403ed2d
commit
889e8b3b20
1 file changed
+7
-2
@@ -1,6 +1,11 @@
|
|||||||
import os, sys
|
"""
|
||||||
|
WSGI entrypont
|
||||||
|
"""
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
from app import create_app
|
||||||
|
|
||||||
app_path = os.path.dirname(os.path.abspath(__file__))
|
app_path = os.path.dirname(os.path.abspath(__file__))
|
||||||
sys.path.insert(0, app_path)
|
sys.path.insert(0, app_path)
|
||||||
|
|
||||||
from app import create_app
|
|
||||||
application = create_app()
|
application = create_app()
|
||||||
Reference in new issue
Block a user