master
Aevann1 2021-12-19 14:36:18 +02:00
parent 2b2f86237d
commit 01f5c56b7b
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ import gevent
from werkzeug.middleware.proxy_fix import ProxyFix from werkzeug.middleware.proxy_fix import ProxyFix
import redis import redis
if int(environ.get("CHRISTMAS", 0)): templates = 'templates/CHRISTMAS'
else: templates = 'templates'
app = Flask(__name__, template_folder=templates) app = Flask(__name__, template_folder=templates)
app.wsgi_app = ProxyFix(app.wsgi_app, x_for=3) app.wsgi_app = ProxyFix(app.wsgi_app, x_for=3)