mirror of
https://gitdab.com/cadence/breezewiki.git
synced 2026-03-05 13:40:27 -05: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