diff --git a/.envrc b/.envrc index ddc7035..2b308ec 100644 --- a/.envrc +++ b/.envrc @@ -3,3 +3,4 @@ export WILD_CENTRAL_DATA_DIR=$HOME/repos/wild-cloud-dev/wild-cloud-redmond-data export WILD_CENTRAL_PORT=15055 export WILD_CENTRAL_NATS_PORT=14222 +export WILD_CENTRAL_VITE_URL=http://localhost:5174 diff --git a/web/.env b/web/.env new file mode 100644 index 0000000..238b61e --- /dev/null +++ b/web/.env @@ -0,0 +1 @@ +VITE_API_BASE_URL=http://localhost:15055 diff --git a/web/index.html b/web/index.html index 0aee50c..c9cefc7 100644 --- a/web/index.html +++ b/web/index.html @@ -7,10 +7,10 @@ - Wild Cloud Central + Wild Central diff --git a/web/vite.config.ts b/web/vite.config.ts index bf04427..fce90b4 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -13,6 +13,8 @@ export default defineConfig({ }, server: { host: '0.0.0.0', - allowedHosts: true, // Go API is the front door, allow any host + port: 5174, + strictPort: true, + allowedHosts: true, } })