forked from MarseyWorld/MarseyWorld
remove no_step_on_jc
parent
1d3fa2f93f
commit
b64ea2e21e
|
@ -84,13 +84,6 @@ Compress(app)
|
|||
|
||||
from files.routes.allroutes import *
|
||||
|
||||
@limiter.request_filter
|
||||
def no_step_on_jc():
|
||||
if request:
|
||||
key = environ.get("NO_STEP_ON_JC", "")
|
||||
if key and key == request.headers.get("X-No-Step", ""): return True
|
||||
return False
|
||||
|
||||
if app.config['SERVICE'] == Service.RDRAMA:
|
||||
from files.routes import *
|
||||
|
||||
|
|
Loading…
Reference in New Issue