fixed issues to let it run on server
This commit is contained in:
6
passenger_wsgi.py
Normal file
6
passenger_wsgi.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from app import app as application
|
||||
|
||||
import importlib.util
|
||||
spec = importlib.util.spec_from_file_location("wsgi", "app.py")
|
||||
wsgi = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(wsgi)
|
||||
Reference in New Issue
Block a user