From 01f5c56b7b256acef0d30c16357c31d32fcf9ff3 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 19 Dec 2021 14:36:18 +0200 Subject: [PATCH] fdsfsd --- files/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/__main__.py b/files/__main__.py index b33c09c52..84cdef6cf 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -16,6 +16,8 @@ import gevent from werkzeug.middleware.proxy_fix import ProxyFix import redis +if int(environ.get("CHRISTMAS", 0)): templates = 'templates/CHRISTMAS' +else: templates = 'templates' app = Flask(__name__, template_folder=templates) app.wsgi_app = ProxyFix(app.wsgi_app, x_for=3)