From 453cabfd27ad06da76f47244f377eeda98a3863a Mon Sep 17 00:00:00 2001 From: Filip Czaplicki Date: Tue, 9 Jan 2024 17:50:27 +0100 Subject: [PATCH] Update backend url Fixes #189 --- .github/workflows/deploy_development.yml | 2 +- .github/workflows/deploy_production.yml | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy_development.yml b/.github/workflows/deploy_development.yml index 7987075..8eb1aec 100644 --- a/.github/workflows/deploy_development.yml +++ b/.github/workflows/deploy_development.yml @@ -52,7 +52,7 @@ jobs: VITE_OSM_API_URL: ${{ secrets.REACT_APP_OSM_API_URL }} VITE_OSM_OAUTH2_CLIENT_ID: ${{ secrets.REACT_APP_OSM_OAUTH2_CLIENT_ID }} VITE_OSM_OAUTH2_CLIENT_SECRET: ${{ secrets.REACT_APP_OSM_OAUTH2_CLIENT_SECRET }} - VITE_BACKEND_API_URL: ${{ secrets.REACT_APP_BACKEND_API_URL_NEW }} + VITE_BACKEND_API_URL: 'https://dev.openaedmap.org' run: npm run build && ./scripts/build_every_lang.sh - name: Run deploy script on host run: | diff --git a/.github/workflows/deploy_production.yml b/.github/workflows/deploy_production.yml index 1240b8c..e477f10 100644 --- a/.github/workflows/deploy_production.yml +++ b/.github/workflows/deploy_production.yml @@ -41,7 +41,7 @@ jobs: VITE_OSM_API_URL: ${{ secrets.REACT_APP_OSM_API_URL }} VITE_OSM_OAUTH2_CLIENT_ID: ${{ secrets.REACT_APP_OSM_OAUTH2_CLIENT_ID }} VITE_OSM_OAUTH2_CLIENT_SECRET: ${{ secrets.REACT_APP_OSM_OAUTH2_CLIENT_SECRET }} - VITE_BACKEND_API_URL: ${{ secrets.REACT_APP_BACKEND_API_URL_NEW }} + VITE_BACKEND_API_URL: 'https://openaedmap.org' run: npm run build && ./scripts/build_every_lang.sh - name: Run deploy script on host run: | diff --git a/README.md b/README.md index ab16c14..a9475f7 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Create .env file and put these variables there: VITE_VERSION=$npm_package_version VITE_DEFAULT_LANG=en VITE_OSM_API_URL=https://master.apis.dev.openstreetmap.org -VITE_BACKEND_API_URL=https://backdev.openaedmap.org +VITE_BACKEND_API_URL=https://dev.openaedmap.org VITE_OSM_OAUTH2_CLIENT_ID=xXaPFXSLizLHuZzoLI1eebHncPdDdVH7nA917S9uFUo VITE_OSM_OAUTH2_CLIENT_SECRET=vSfLjZquQ5xlcD9Lq9rhyDuH1ItpakgY5DW59WrRtHY HOST=127.0.0.1