Allow to set DASHBOARD_DEVELOPMENT_ORIGIN in env for local development

This commit is contained in:
Johannes Zellner
2024-12-10 12:56:09 +01:00
parent 30b0d4cced
commit 9a26dc090e

View File

@@ -3,7 +3,7 @@
set -eu
echo "=> Set API origin"
export VITE_API_ORIGIN="https://my.smartserver.io"
export VITE_API_ORIGIN="${DASHBOARD_DEVELOPMENT_ORIGIN}"
# only really used for prod builds to bust cache
export VITE_CACHE_ID="develop"