forked from MarseyWorld/MarseyWorld
remove unnecessary route now
parent
bfde0d7ff3
commit
c358590e44
|
@ -51,12 +51,10 @@ def get_marseys(db:scoped_session):
|
||||||
return marseys
|
return marseys
|
||||||
|
|
||||||
@app.get("/marseys")
|
@app.get("/marseys")
|
||||||
@app.get("/marseys/all")
|
|
||||||
@limiter.limit(DEFAULT_RATELIMIT)
|
@limiter.limit(DEFAULT_RATELIMIT)
|
||||||
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)
|
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)
|
||||||
@auth_required
|
@auth_required
|
||||||
def marseys(v:User):
|
def marseys(v:User):
|
||||||
|
|
||||||
if SITE_NAME != 'rDrama':
|
if SITE_NAME != 'rDrama':
|
||||||
abort(404)
|
abort(404)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue