#10 customize base url for view and api via env variables

This commit is contained in:
Tim
2024-07-27 21:49:47 +02:00
parent 208bff5e90
commit a28df11efe
3 changed files with 13 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
"version": "0.0.2",
"private": true,
"scripts": {
"dev": "vite dev",
"dev": "PUBLIC_BASE_API_URL=http://localhost:8080 vite dev",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",