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
|
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',
|
||||||
|
Loading…
Reference in New Issue
Block a user