diff --git a/scripts/logs.sh b/scripts/logs.sh new file mode 100644 index 0000000..7799574 --- /dev/null +++ b/scripts/logs.sh @@ -0,0 +1 @@ +kubectl -n qubed logs deployment/stac-server diff --git a/stac_server/main.py b/stac_server/main.py index e902dda..d14218a 100644 --- a/stac_server/main.py +++ b/stac_server/main.py @@ -85,9 +85,9 @@ else: mars_language = yaml.safe_load( requests.get( "https://github.com/ecmwf/qubed/raw/refs/heads/main/config/climate-dt/language.yaml", - timeout=1, + timeout=3, ).content - ) + )["_field"] if "API_KEY" in os.environ: api_key = os.environ["API_KEY"]