ProxyFix not needed at all on werkzeug 1.x
This commit is contained in:
parent
f370bd4712
commit
47d1d18fd5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user