mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Support restoring preferences via new prefs param
Fixes #1352 Fixes #553 Fixes #249
This commit is contained in:
parent
5d28bd18c6
commit
db36f75519
9 changed files with 107 additions and 14 deletions
|
|
@ -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())
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue