diff --git a/config/initializers/active_storage.rb b/config/initializers/active_storage.rb index 620e3f022d4..a85267e9acf 100644 --- a/config/initializers/active_storage.rb +++ b/config/initializers/active_storage.rb @@ -52,7 +52,7 @@ def endpoint_url(endpoint, interface) def publicize(url) search = %r{^https://[^/]+/} - replace = "#{ENV['DS_PROXY_URL']}/" + replace = "https://dev.demarches-simplifiees.fr/upstream/" url.gsub(search, replace) end end @@ -75,7 +75,7 @@ def endpoint_url(endpoint, interface) def publicize(url) search = %r{^https://[^/]+/} - replace = "#{ENV['DS_PROXY_URL']}/" + replace = "https://dev.demarches-simplifiees.fr/upstream/" url.gsub(search, replace) end end