5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 09:56:21 +00:00

no habilitar protección contra dns rebinding en producción

This commit is contained in:
f 2020-02-06 13:17:36 -03:00
parent 5b20919fb3
commit c2b695b017
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
Rails.application.configure do
next if ENV['RAILS_ENV'] == 'test'
next unless ENV['RAILS_ENV'] == 'development'
domain = ENV.fetch('SUTTY', 'sutty.nl')