remotes/1693045480750635534/spooky-22
Aevann1 2021-12-15 01:39:55 +02:00
parent fc1bf3e057
commit c7bece7844
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@ import gevent
from werkzeug.middleware.proxy_fix import ProxyFix
import redis
app = Flask(__name__, template_folder='templates/CHRISTMAS')
if environ.get("CHRISTMAS"): templates = 'templates/CHRISTMAS'
else: templates = 'templates'
app = Flask(__name__, template_folder=templates)
app.wsgi_app = ProxyFix(app.wsgi_app, x_for=3)
app.url_map.strict_slashes = False