forked from cadence/breezewiki
Fix siteinfo access when using feature_offline::only
This commit is contained in:
parent
dfc9605cb6
commit
abb4473020
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,9 @@
|
|||
(define siteinfo-default (siteinfo^ "Unknown Wiki" "Main_Page" license-default))
|
||||
(define head-data-default (head-data^ "skin-fandomdesktop" (get-static-url "breezewiki-favicon.svg")))
|
||||
|
||||
(when (config-true? 'feature_offline::only)
|
||||
(void (get-slc)))
|
||||
|
||||
(define/memoize (siteinfo-fetch wikiname) #:hash hash
|
||||
(cond
|
||||
[(config-true? 'feature_offline::only)
|
||||
|
|
Loading…
Reference in a new issue