Skip to content

Commit a3f8215

Browse files
author
Alex Grosu
committed
Change the order for stac-browser-catalog with prip
1 parent 80860a4 commit a3f8215

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

services/frontend/.github/entrypoint_frontend.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ set -x
2222
sb_urls=(${STAC_BROWSER_URLS//;/ })
2323
STAC_BROWSER_URL_ADGS=${sb_urls[0]}
2424
STAC_BROWSER_URL_CADIP=${sb_urls[1]}
25-
STAC_BROWSER_URL_CATALOG=${sb_urls[2]}
26-
STAC_BROWSER_URL_PRIP=${sb_urls[3]}
25+
STAC_BROWSER_URL_PRIP=${sb_urls[2]}
26+
STAC_BROWSER_URL_CATALOG=${sb_urls[3]}
2727

2828
# Replace environment variables in the openapi.json file
2929
sed -i "s|\${RSPY_UAC_HOMEPAGE}|${RSPY_UAC_HOMEPAGE:-}|g" $RSPY_OPENAPI_FILE
3030
sed -i "s|\${STAC_BROWSER_URL_ADGS}|${STAC_BROWSER_URL_ADGS:-}|g" $RSPY_OPENAPI_FILE
3131
sed -i "s|\${STAC_BROWSER_URL_CADIP}|${STAC_BROWSER_URL_CADIP:-}|g" $RSPY_OPENAPI_FILE
32-
sed -i "s|\${STAC_BROWSER_URL_CATALOG}|${STAC_BROWSER_URL_CATALOG:-}|g" $RSPY_OPENAPI_FILE
3332
sed -i "s|\${STAC_BROWSER_URL_PRIP}|${STAC_BROWSER_URL_PRIP:-}|g" $RSPY_OPENAPI_FILE
33+
sed -i "s|\${STAC_BROWSER_URL_CATALOG}|${STAC_BROWSER_URL_CATALOG:-}|g" $RSPY_OPENAPI_FILE
3434

3535
# Run the FastAPI application
3636
python -m uvicorn --factory rs_server_frontend.main:start_app --host 0.0.0.0 --port 8000 "$@"

0 commit comments

Comments
 (0)