ProxyFix not needed at all on werkzeug 1.x

This commit is contained in:
Disassembler 2020-10-15 14:10:37 +02:00
parent f370bd4712
commit 47d1d18fd5
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

View File

@ -7,7 +7,6 @@ application = WSGIApp()
if __name__ == '__main__':
import os
from werkzeug.middleware.proxy_fix import ProxyFix
from werkzeug.serving import run_simple
run_simple('127.0.0.1', 8080, ProxyFix(application), threaded=True)
run_simple('127.0.0.1', 8080, application, threaded=True)