1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

WIP: fix SSO redirect url

see: https://github.com/rails/rails/issues/29992
This commit is contained in:
Sylvain 2020-06-29 16:53:38 +02:00
parent cce70d33a9
commit 65470ca3e6
4 changed files with 21 additions and 0 deletions

View File

@ -88,3 +88,8 @@ Rails.application.configure do
config.log_level = Rails.application.secrets.log_level || :debug
end
Rails.application.routes.default_url_options = {
host: Rails.application.secrets.default_host,
protocol: Rails.application.secrets.default_protocol
}

View File

@ -124,3 +124,8 @@ Rails.application.configure do
# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false
end
Rails.application.routes.default_url_options = {
host: Rails.application.secrets.default_host,
protocol: Rails.application.secrets.default_protocol
}

View File

@ -111,3 +111,9 @@ Rails.application.configure do
config.action_mailer.delivery_method = Rails.application.secrets.delivery_method.to_sym
end
Rails.application.routes.default_url_options = {
host: Rails.application.secrets.default_host,
protocol: Rails.application.secrets.default_protocol
}

View File

@ -55,3 +55,8 @@ Rails.application.configure do
config.active_support.test_order = :random
config.log_level = Rails.application.secrets.log_level.blank? ? :debug : Rails.application.secrets.log_level
end
Rails.application.routes.default_url_options = {
host: Rails.application.secrets.default_host,
protocol: Rails.application.secrets.default_protocol
}