mirror of
https://gitdab.com/cadence/breezewiki.git
synced 2026-04-19 22:04:35 -04:00
Warn if canonical_origin not present in production
This commit is contained in:
@@ -78,3 +78,9 @@
|
||||
(hash->list (make-hasheq combined-alist))
|
||||
symbol<?
|
||||
#:key car))))
|
||||
|
||||
(when (not (config-true? 'debug))
|
||||
(when (not (config-true? 'canonical_origin))
|
||||
(displayln
|
||||
(string-append "warning: configuring canonical_origin is highly recommended for production!\n"
|
||||
" see https://docs.breezewiki.com/Configuration.html"))))
|
||||
|
||||
Reference in New Issue
Block a user