Fix keep-alive (maybe ?)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5ff4ebbf1c
commit
b62ed4b34e
@ -2,6 +2,7 @@ from functools import wraps
|
|||||||
from operator import attrgetter, itemgetter
|
from operator import attrgetter, itemgetter
|
||||||
|
|
||||||
from flask import redirect, render_template, request, url_for, abort
|
from flask import redirect, render_template, request, url_for, abort
|
||||||
|
from werkzeug.serving import WSGIRequestHandler
|
||||||
|
|
||||||
from . import utils
|
from . import utils
|
||||||
from .config import app, auth, ADMIN_USERNAME, ADMIN_PASSWORD, MYSQL_ENABLED, APP_PORT, IS_DEBUG
|
from .config import app, auth, ADMIN_USERNAME, ADMIN_PASSWORD, MYSQL_ENABLED, APP_PORT, IS_DEBUG
|
||||||
@ -186,4 +187,5 @@ def admin_edit(link_id=None):
|
|||||||
|
|
||||||
|
|
||||||
def run():
|
def run():
|
||||||
|
WSGIRequestHandler.protocol_version = 'HTTP/1.1'
|
||||||
app.run('0.0.0.0', APP_PORT, IS_DEBUG)
|
app.run('0.0.0.0', APP_PORT, IS_DEBUG)
|
||||||
|
@ -11,3 +11,4 @@ cloudscraper==1.2.48
|
|||||||
Js2Py==0.70
|
Js2Py==0.70
|
||||||
polling==0.3.1
|
polling==0.3.1
|
||||||
dateparser==1.0.0
|
dateparser==1.0.0
|
||||||
|
Werkzeug==1.0.1
|
||||||
|
Reference in New Issue
Block a user