This commit is contained in:
iFargle
2023-02-20 19:52:02 +09:00
parent ac0274076e
commit 67d8acd595

View File

@@ -17,7 +17,9 @@ 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)
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)