From cbbf00067efdff422b7b11458a145a244f0fe0fb Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 21 Feb 2023 19:32:38 +0900 Subject: [PATCH] test --- server.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server.py b/server.py index eac1afc..60e3161 100644 --- a/server.py +++ b/server.py @@ -6,8 +6,6 @@ from flask import Flask, Markup, redirect, render_template, request, ur from dateutil import parser from flask_executor import Executor -from werkzeug.middleware.proxy_fix import ProxyFix - # Global vars # Colors: https://materializecss.com/color.html COLOR = os.environ["COLOR"].replace('"', '') @@ -19,9 +17,6 @@ STATIC_URL_PATH = "/static" # Initiate the Flask application: app = Flask(__name__, static_url_path=STATIC_URL_PATH) -app.wsgi_app = ProxyFix( - app.wsgi_app, x_for=1, x_proto=1, x_host=1, x_prefix=1 -) LOG = logging.create_logger(app) executor = Executor(app)