Improve the way prod imports flask backend.

This commit is contained in:
voussoir 2021-09-08 19:33:05 -07:00
parent d5b50ff1f6
commit 2c133d18f3
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
from . import backend
from . import ycdl_flask_prod

View file

@ -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)