Compare commits
4
Commits
e7c55787e0
...
c5b892c3a5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c5b892c3a5 | ||
|
|
6d50f7f41c | ||
|
|
cc875de0eb | ||
|
|
a2ad5bdbd3 |
@@ -44,10 +44,13 @@ export default defineConfig({
|
||||
}),
|
||||
],
|
||||
server: {
|
||||
// Allow the internal split-DNS domain (and any subdomain) to reach the dev
|
||||
// server through the reverse proxy / tunnel. A leading dot matches the apex
|
||||
// and all subdomains. Dev-server only — production builds ignore this.
|
||||
allowedHosts: ['.bergerhouse.net'],
|
||||
// Dev box reached through the Pangolin/newt tunnel: Vite's default host check
|
||||
// 403s any non-localhost Host header ("Blocked request"), which the tunnel
|
||||
// health check reads as unhealthy. `true` accepts any host (fine for a private
|
||||
// throwaway dev tunnel); replace with e.g. ['familysync.example.com'] to scope it.
|
||||
allowedHosts: true,
|
||||
// Listen on all interfaces so newt can reach Vite via the box IP, not just localhost.
|
||||
host: true,
|
||||
proxy: {
|
||||
'/health': 'http://localhost:3000',
|
||||
'/api': 'http://localhost:3000',
|
||||
|
||||
@@ -9,6 +9,10 @@ services:
|
||||
- ./apps/api/src:/app/apps/api/src
|
||||
environment:
|
||||
NODE_ENV: development
|
||||
# Local-dev only: skip OIDC and authenticate as Dev User id 1. Guarded by
|
||||
# NODE_ENV !== 'production' (and the production image bakes NODE_ENV=production),
|
||||
# so this can never activate in a shipped image. Required by the e2e harness.
|
||||
DEV_AUTH_BYPASS: 'true'
|
||||
|
||||
mariadb:
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user