Improve the way prod imports flask backend.
This commit is contained in:
parent
d5b50ff1f6
commit
2c133d18f3
2 changed files with 3 additions and 1 deletions
2
frontends/ycdl_flask/__init__.py
Normal file
2
frontends/ycdl_flask/__init__.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
from . import backend
|
||||
from . import ycdl_flask_prod
|
|
@ -11,7 +11,7 @@ import werkzeug.middleware.proxy_fix
|
|||
import ycdl
|
||||
import youtube_credentials
|
||||
|
||||
import backend
|
||||
from ycdl_flask import backend
|
||||
|
||||
backend.site.wsgi_app = werkzeug.middleware.proxy_fix.ProxyFix(backend.site.wsgi_app)
|
||||
|
||||
|
|
Loading…
Reference in a new issue