forked from MarseyWorld/MarseyWorld
fix /rss
parent
0084de4273
commit
d545316b3b
|
@ -13,6 +13,7 @@ from files.__main__ import app
|
||||||
@app.get('/rss/<sort>/<t>')
|
@app.get('/rss/<sort>/<t>')
|
||||||
@limiter.limit(DEFAULT_RATELIMIT)
|
@limiter.limit(DEFAULT_RATELIMIT)
|
||||||
def feeds_user(sort='hot', t='all'):
|
def feeds_user(sort='hot', t='all'):
|
||||||
|
g.v = None
|
||||||
|
|
||||||
try: page = max(int(request.values.get("page", 1)), 1)
|
try: page = max(int(request.values.get("page", 1)), 1)
|
||||||
except: page = 1
|
except: page = 1
|
||||||
|
|
Loading…
Reference in New Issue