Make it possible to use a dynamic api endpoint for local development

This commit is contained in:
Johannes Zellner
2024-10-04 15:22:11 +02:00
parent ac98895e15
commit 6534e99103
3 changed files with 12 additions and 4 deletions

9
dashboard/develop.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
set -eu
echo "=> Set API origin"
export VITE_API_ORIGIN="my.nebulon.space"
echo "=> Run vite locally"
npm run dev