diff --git a/dashboard/activation.html b/dashboard/activation.html index 0b911f752..669086de1 100644 --- a/dashboard/activation.html +++ b/dashboard/activation.html @@ -41,9 +41,9 @@ - - - + + + diff --git a/dashboard/build.sh b/dashboard/build.sh index af5c2fa37..f9ce794d4 100755 --- a/dashboard/build.sh +++ b/dashboard/build.sh @@ -8,5 +8,7 @@ echo "=> Create timezones.js" echo "=> Build theme.css for oidc views" ./node_modules/.bin/sass --pkg-importer=node ./src/theme.scss ./public/theme.css +export VITE_CACHE_ID=$(date +%s) + echo "=> Build the dashboard apps" ./node_modules/.bin/vite build diff --git a/dashboard/develop.sh b/dashboard/develop.sh index 997f54a62..01f2eebf0 100755 --- a/dashboard/develop.sh +++ b/dashboard/develop.sh @@ -5,5 +5,8 @@ set -eu echo "=> Set API origin" export VITE_API_ORIGIN="https://my.nebulon.space" +# only really used for prod builds to bust cache +export VITE_CACHE_ID="develop" + echo "=> Run vite locally" npm run dev diff --git a/dashboard/index.html b/dashboard/index.html index ac43f4523..21673f458 100644 --- a/dashboard/index.html +++ b/dashboard/index.html @@ -60,34 +60,34 @@ - + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + diff --git a/dashboard/passwordreset.html b/dashboard/passwordreset.html index a001f0d53..3bd88b708 100644 --- a/dashboard/passwordreset.html +++ b/dashboard/passwordreset.html @@ -40,8 +40,8 @@ - - + + diff --git a/dashboard/restore.html b/dashboard/restore.html index 1528bdcbe..1cee5e697 100644 --- a/dashboard/restore.html +++ b/dashboard/restore.html @@ -41,9 +41,9 @@ - - - + + + diff --git a/dashboard/setup.html b/dashboard/setup.html index c6684439c..79eed8f4b 100644 --- a/dashboard/setup.html +++ b/dashboard/setup.html @@ -43,9 +43,9 @@ - - - + + + diff --git a/dashboard/setupaccount.html b/dashboard/setupaccount.html index 9878c3727..505c07d4b 100644 --- a/dashboard/setupaccount.html +++ b/dashboard/setupaccount.html @@ -39,8 +39,8 @@ - - + +