diff --git a/features/video-studio/frontend-demo/vite.config.ts b/features/video-studio/frontend-demo/vite.config.ts index df7f8b661..0d820d1b9 100644 --- a/features/video-studio/frontend-demo/vite.config.ts +++ b/features/video-studio/frontend-demo/vite.config.ts @@ -35,6 +35,12 @@ export default defineConfig({ rewrite: (p) => p.replace(/^\/proxy\/ia/, ''), changeOrigin: true, }, + // Proxy to imajin-adversarial (localhost:8011) — landmark detection + '/proxy/adversarial': { + target: 'http://localhost:8011', + rewrite: (p) => p.replace(/^\/proxy\/adversarial/, ''), + changeOrigin: true, + }, }, }, });