mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 19:46:22 +00:00
fix: rehabilitar protección contra dns rebinding
lo habíamos deshabilitado en 2022 sin una explicación real y nos impide verificar la procedencia de los archivos.
This commit is contained in:
parent
d095dbcc14
commit
727435569c
1 changed files with 1 additions and 2 deletions
|
@ -1,11 +1,10 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Rails.application.configure do
|
||||
next unless ENV['RAILS_ENV'] == 'development'
|
||||
next Rails.env.test?
|
||||
|
||||
domain = ENV.fetch('SUTTY', 'sutty.nl')
|
||||
|
||||
config.hosts << domain
|
||||
config.hosts << "panel.#{domain}"
|
||||
config.hosts << "api.#{domain}"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue