Change default RSS sort to 'new'.

This commit is contained in:
TLSM 2022-09-12 07:59:38 -04:00 committed by Ben Rog-Wilhelm
parent d8462a4a32
commit ccabc8b881
3 changed files with 4 additions and 4 deletions

View file

@ -12,7 +12,7 @@ from files.__main__ import app
@app.get('/rss')
@app.get('/feed')
@app.get('/rss/<sort>/<t>')
def feeds_front(sort='hot', t='all'):
def feeds_front(sort='new', t='all'):
try: page = max(int(request.values.get("page", 1)), 1)
except: page = 1