mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01:00
Exemplify the traditions of the ancients
This commit is contained in:
parent
05ba762945
commit
95c360eb65
@ -160,13 +160,8 @@ elsif ENV['AZURE_ENABLED'] == 'true'
|
||||
)
|
||||
end
|
||||
else
|
||||
if ENV['TEST_ENV_NUMBER']
|
||||
path_suffix = "test-env-#{ENV['TEST_ENV_NUMBER']}"
|
||||
default_root_url = "/system/#{path_suffix}"
|
||||
else
|
||||
path_suffix = nil
|
||||
default_root_url = '/system'
|
||||
end
|
||||
path_suffix = ENV['TEST_ENV_NUMBER'].present? ? "test-env-#{ENV['TEST_ENV_NUMBER']}" : nil
|
||||
default_root_url = ['/system', path_suffix].compact.join('/')
|
||||
|
||||
Rails.configuration.x.file_storage_root_path = ENV.fetch(
|
||||
'PAPERCLIP_ROOT_PATH',
|
||||
|
Loading…
Reference in New Issue
Block a user