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) <noreply@anthropic.com>
This commit is contained in:
1
.envrc
1
.envrc
@@ -3,3 +3,4 @@
|
|||||||
export WILD_CENTRAL_DATA_DIR=$HOME/repos/wild-cloud-dev/wild-cloud-redmond-data
|
export WILD_CENTRAL_DATA_DIR=$HOME/repos/wild-cloud-dev/wild-cloud-redmond-data
|
||||||
export WILD_CENTRAL_PORT=15055
|
export WILD_CENTRAL_PORT=15055
|
||||||
export WILD_CENTRAL_NATS_PORT=14222
|
export WILD_CENTRAL_NATS_PORT=14222
|
||||||
|
export WILD_CENTRAL_VITE_URL=http://localhost:5174
|
||||||
|
|||||||
@@ -7,10 +7,10 @@
|
|||||||
<meta name="theme-color" content="#0ea5e9" />
|
<meta name="theme-color" content="#0ea5e9" />
|
||||||
<meta
|
<meta
|
||||||
name="description"
|
name="description"
|
||||||
content="Wild Cloud Central Management"
|
content="Wild Central — Network management for your LAN"
|
||||||
/>
|
/>
|
||||||
<link rel="manifest" href="/manifest.json" />
|
<link rel="manifest" href="/manifest.json" />
|
||||||
<title>Wild Cloud Central</title>
|
<title>Wild Central</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
allowedHosts: true, // Go API is the front door, allow any host
|
port: 5174,
|
||||||
|
strictPort: true,
|
||||||
|
allowedHosts: true,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user