Fix "Blocked host" error in development environment.

Fix custom hostnames being blocked in the development environment.
This commit is contained in:
evazion
2021-03-29 02:58:41 -05:00
parent 6404aa9aa9
commit 6f6a73edd2

View File

@@ -73,5 +73,5 @@ Rails.application.configure do
# https://bigbinary.com/blog/rails-6-adds-guard-against-dns-rebinding-attacks
# hxxps://github.com/rails/rails/pull/33145
config.hosts += [".ngrok.io", ".lvh.me", ".xip.io", ".nip.io"]
config.hosts += [".ngrok.io", ".lvh.me", ".xip.io", ".nip.io", Danbooru.config.hostname]
end