Add a DS_PROXY_URL env variable
This commit is contained in:
parent
bc257911e9
commit
73d4ecf35d
3 changed files with 3 additions and 2 deletions
|
@ -32,7 +32,7 @@ module Fog::OpenStack::Auth::Catalog
|
|||
|
||||
def publicize(url)
|
||||
search = %r{^https://[^/]+/}
|
||||
replace = 'https://static.demarches-simplifiees.fr/'
|
||||
replace = "#{ENV['DS_PROXY_URL']}/"
|
||||
url.gsub(search, replace)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue