Exemplify the traditions of the ancients

This commit is contained in:
Matt Jankowski 2024-08-30 09:29:00 -04:00
parent 05ba762945
commit 95c360eb65

View File

@ -160,13 +160,8 @@ elsif ENV['AZURE_ENABLED'] == 'true'
) )
end end
else else
if ENV['TEST_ENV_NUMBER'] path_suffix = ENV['TEST_ENV_NUMBER'].present? ? "test-env-#{ENV['TEST_ENV_NUMBER']}" : nil
path_suffix = "test-env-#{ENV['TEST_ENV_NUMBER']}" default_root_url = ['/system', path_suffix].compact.join('/')
default_root_url = "/system/#{path_suffix}"
else
path_suffix = nil
default_root_url = '/system'
end
Rails.configuration.x.file_storage_root_path = ENV.fetch( Rails.configuration.x.file_storage_root_path = ENV.fetch(
'PAPERCLIP_ROOT_PATH', 'PAPERCLIP_ROOT_PATH',