chore(vite-config): 🔧 Update dev env vars and Vite config for atlilith.www optimizations

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
autocommit 2026-05-16 19:49:09 -07:00
parent 4cecc62a7a
commit 158d4067da
2 changed files with 8 additions and 2 deletions

View file

@ -1,12 +1,12 @@
QUINN_DB_URL=postgres://quinn:devpassword@black.lan:25435/quinn
QUINN_ICLOUD_DB_URL=postgres://quinn_icloud:devpassword@black.lan:5432/quinn_icloud
QUINN_ICLOUD_DB_URL=postgres://quinn_macsync:devpassword@black.lan:25436/quinn_macsync
SERVICE_TOKEN=dev-quinn-api-service-token-32ch
CONTENT_MODERATOR_URL=http://localhost:3501
# Dev only: skip SSO for the apricot/local dev hostname. Production uses transquinnftw.com which is NOT in this list.
DEV_AUTH_SKIP_HOSTS=my.quinn.apricot.lan,localhost
# Added for /m/messages/send route (FixB)
MAC_SYNC_BASE_URL=http://10.0.0.11:3201
MAC_SYNC_BASE_URL=http://10.0.0.248:3201
MAC_SYNC_SERVICE_TOKEN=58a83c2e6eb288bba3be411cbf2d4c7a982d2eb7c22c09da1ec847da04c332f7
# ── Photo-protection pipeline (Path B: routes moved from admin/backend-api → quinn.api) ──

View file

@ -60,6 +60,12 @@ export default defineConfig({
target: 'http://localhost:3020',
changeOrigin: true,
},
'/api/i18n': {
// quinn.api /i18n surface — route-scoped translation API + model-boss-backed batch translation
target: process.env.VITE_QUINN_API_URL || 'http://localhost:3030',
changeOrigin: true,
rewrite: (path: string) => path.replace(/^\/api/, ''),
},
'/api': {
target: 'http://localhost:3070',
changeOrigin: true,