From 3509a7529c7d07cfb201c1921d6abc6b00f1e0f4 Mon Sep 17 00:00:00 2001 From: Christina Chortaria Date: Tue, 24 Sep 2024 09:00:30 -0400 Subject: [PATCH] set default_url_options protocol explicitly to https in config/environments/staging.rb --- config/environments/staging.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/environments/staging.rb b/config/environments/staging.rb index cb7f04ba..416e5825 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -88,4 +88,5 @@ config.active_record.dump_schema_after_migration = false # config.action_mailer.default_url_options = { host: ENV["APPLICATION_URL"] || "bibdata-staging.lib.princeton.edu", protocol: "https" } + config.default_url_options = { host: ENV["APPLICATION_URL"] || "bibdata-staging.lib.princeton.edu", protocol: "https" } end