mirror of
https://github.com/zedeus/nitter.git
synced 2026-04-15 18:22:11 -04:00
Support restoring preferences via new prefs param
Fixes #1352 Fixes #553 Fixes #249
This commit is contained in:
@@ -65,6 +65,11 @@ settings:
|
||||
reusePort = true
|
||||
|
||||
routes:
|
||||
before:
|
||||
# skip all file URLs
|
||||
cond "." notin request.path
|
||||
applyUrlPrefs()
|
||||
|
||||
get "/":
|
||||
resp renderMain(renderSearch(), request, cfg, cookiePrefs())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user