From 4f758c3ad0f015f4d10676360579e9bb3e7e414f Mon Sep 17 00:00:00 2001 From: Paul Payne Date: Thu, 9 Jul 2026 04:16:37 +0000 Subject: [PATCH] fix: Configure Wild Central web app ports and branding - Vite dev server pinned to port 5174 (avoids conflict with Wild Cloud on 5173) - .envrc updated with WILD_CENTRAL_VITE_URL=http://localhost:5174 - API base URL set to http://localhost:15055 via .env - Page title changed to "Wild Central" Restart air and the Vite dev server to pick up these changes. Co-Authored-By: Claude Opus 4.6 (1M context) --- .envrc | 1 + web/.env | 1 + web/index.html | 4 ++-- web/vite.config.ts | 4 +++- 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 web/.env 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, } })