config: don't hardcode safebooru donmain.

This commit is contained in:
evazion
2022-05-05 19:07:44 -05:00
parent 5ec5eeeebf
commit 52edf5c3be
3 changed files with 8 additions and 3 deletions

View File

@@ -66,6 +66,11 @@ module Danbooru
Socket.gethostname
end
# A list of alternate hostnames where safe mode will automatically be enabled.
def safe_mode_hostnames
["safebooru.donmai.us"]
end
# The URL of your site, e.g. https://danbooru.donmai.us.
#
# If you support HTTPS, change this to "https://www.mybooru.com". If you set