Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Using the CONFIG_URL variable for config static file generation (#5206)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
pakb authored Oct 22, 2020
1 parent 34582e3 commit f421edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mk/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f421edc

Please sign in to comment.