mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
Optimize usage of cookie preferences
This commit is contained in:
parent
310c5e936d
commit
db45433ec4
13 changed files with 88 additions and 52 deletions
|
|
@ -7,7 +7,7 @@ import ../views/[general, about]
|
|||
proc createUnsupportedRouter*(cfg: Config) =
|
||||
router unsupported:
|
||||
template feature {.dirty.} =
|
||||
resp renderMain(renderFeature(), request, cfg)
|
||||
resp renderMain(renderFeature(), request, cfg, themePrefs())
|
||||
|
||||
get "/about/feature": feature()
|
||||
get "/intent/?@i?": feature()
|
||||
|
|
|
|||
Loading…
Reference in a new issue