Warn if canonical_origin not present in production

This commit is contained in:
Cadence Ember
2022-09-17 23:09:47 +12:00
parent 4d8746e85e
commit 3d8feaba9a

View File

@@ -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"))))