From c1ebeeb4b77a54d1daea0d8a2e24d6c0db33fea4 Mon Sep 17 00:00:00 2001 From: kjgarza Date: Wed, 3 Jun 2020 11:44:36 +0200 Subject: [PATCH] refactor: default config addresses https://github.com/datacite/datacite/issues/1033 --- config/application.rb | 2 +- coverage/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/application.rb b/config/application.rb index 9103e14..92e4522 100644 --- a/config/application.rb +++ b/config/application.rb @@ -28,7 +28,7 @@ # default values for some ENV variables ENV['APPLICATION'] ||= "content-negotiation" ENV['HOSTNAME'] ||= "data.local" -ENV['API_URL'] ||= "https://api.test.datacite.org" +ENV['API_URL'] ||= "https://api.stage.datacite.org" ENV['MEMCACHE_SERVERS'] ||= "memcached:11211" ENV['SITE_TITLE'] ||= "Content Resolver" ENV['LOG_LEVEL'] ||= "info" diff --git a/coverage/index.html b/coverage/index.html index 949683b..74dc557 100644 --- a/coverage/index.html +++ b/coverage/index.html @@ -371,7 +371,7 @@

43.48 % covered

  • - media_url = Rails.env.production? ? "https://api.datacite.org" : "https://api.test.datacite.org" + media_url = Rails.env.production? ? "https://api.datacite.org" : "https://api.stage.datacite.org"