From 158d4067dae1c4eba09a92aa58d331e6782ff10a Mon Sep 17 00:00:00 2001 From: autocommit Date: Sat, 16 May 2026 19:49:09 -0700 Subject: [PATCH] =?UTF-8?q?chore(vite-config):=20=F0=9F=94=A7=20Update=20d?= =?UTF-8?q?ev=20env=20vars=20and=20Vite=20config=20for=20atlilith.www=20op?= =?UTF-8?q?timizations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- codebase/@features/api/.env.development | 4 ++-- deployments/@domains/atlilith.www/root/vite.config.ts | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/codebase/@features/api/.env.development b/codebase/@features/api/.env.development index 9bdd504b..21a5b59e 100644 --- a/codebase/@features/api/.env.development +++ b/codebase/@features/api/.env.development @@ -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) ── diff --git a/deployments/@domains/atlilith.www/root/vite.config.ts b/deployments/@domains/atlilith.www/root/vite.config.ts index 3b7442ce..271ec209 100644 --- a/deployments/@domains/atlilith.www/root/vite.config.ts +++ b/deployments/@domains/atlilith.www/root/vite.config.ts @@ -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,