about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2021-06-08 09:28:57 -0500
committerStarfall <us@starfall.systems>2021-06-08 09:28:57 -0500
commitf95637178671b1aa0648fa506231717229a6cd8f (patch)
treefbaa725bcdb88220c5d1e299b338b196822460e5 /config/initializers
parent2c6fcb9cf8fbb09e900fc3625837529155f98f4f (diff)
parentdb5baf3d1a93cbf6961f721205cff0beaf71bffd (diff)
Merge branch 'glitch'
Conflicts:
	yarn.lock: caniuse-lite has been outdated in upstream for
	awhile, and we fixed it a few weeks ago in our fork
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/1_hosts.rb2
-rw-r--r--config/initializers/mail_delivery_job.rb (renamed from config/initializers/delivery_job.rb)2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/initializers/1_hosts.rb b/config/initializers/1_hosts.rb
index f470fddb3..6ff0845c4 100644
--- a/config/initializers/1_hosts.rb
+++ b/config/initializers/1_hosts.rb
@@ -31,6 +31,6 @@ Rails.application.configure do
     config.hosts << host if host.present?
     config.hosts << web_host if web_host.present?
     config.hosts.concat(alternate_domains) if alternate_domains.present?
-    config.hosts_authorization = { exclude: ->(request) { request.path == '/health' } }
+    config.host_authorization = { exclude: ->(request) { request.path == '/health' } }
   end
 end
diff --git a/config/initializers/delivery_job.rb b/config/initializers/mail_delivery_job.rb
index cc2927272..327817396 100644
--- a/config/initializers/delivery_job.rb
+++ b/config/initializers/mail_delivery_job.rb
@@ -1,3 +1,3 @@
-ActionMailer::DeliveryJob.class_eval do
+ActionMailer::MailDeliveryJob.class_eval do
   discard_on ActiveJob::DeserializationError
 end