From f421edcbb216d6a7e27e483b504616d99a475d0b Mon Sep 17 00:00:00 2001 From: Pascal Barth Date: Thu, 22 Oct 2020 09:58:09 +0200 Subject: [PATCH] Using the CONFIG_URL variable for config static file generation (#5206) * Using the CONFIG_URL variable for config static file generation Otherwise new topics can't be tested on INT before a PROD deploy * Using CONFIG_TECH_URL instaed of CONFIG_URL to generate topic files * Switching to API_URL instead --- mk/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/config.mk b/mk/config.mk index 81ff28ff48..8997242e7e 100644 --- a/mk/config.mk +++ b/mk/config.mk @@ -108,7 +108,7 @@ LESS_PARAMETERS ?= -ru TRANSLATION_FALLBACK_CODE ?= de LANGUAGES ?= '[\"de\", \"fr\", \"it\", \"en\", \"rm\"]' DEFAULT_TOPIC_ID ?= ech -TOPICS =$(shell curl -s --retry 3 https://api3.geo.admin.ch/rest/services | jq -r '.topics[].id') +TOPICS =$(shell curl -s --retry 3 https:$(API_URL)/rest/services | jq -r '.topics[].id') # Translations variables