Add downloader for upload files outwards of public folder
This commit is contained in:
parent
4961f39a71
commit
e7570564f8
2 changed files with 44 additions and 0 deletions
|
@ -26,5 +26,13 @@ module TPS
|
|||
|
||||
# Do not swallow errors in after_commit/after_rollback callbacks.
|
||||
config.active_record.raise_in_transactional_callbacks = true
|
||||
|
||||
if Rails.env.production?
|
||||
URL = "https://tps.apientreprise.fr/"
|
||||
elsif Rails.env.staging?
|
||||
URL = "https://tps-dev.apientreprise.fr/"
|
||||
else
|
||||
URL = "http://localhost:3000/"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue