chore: enable ws proxy in admin-web dev server and log compliance recheck failures

- admin-web vite dev server now proxies websockets on /api so live
  features (e.g. SSE/WS) work in development.
- Tenant desktop publish compliance recheck now logs warnings when the
  query, scan or row iteration fails so the silent 50118 errors can be
  diagnosed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-06 12:57:03 +08:00
parent 68089d065f
commit f6aed87e44
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -61,6 +61,7 @@ export default defineConfig(({ mode }) => {
'/api': {
target: env.VITE_API_PROXY_TARGET || 'http://localhost:8080',
changeOrigin: true,
ws: true,
},
'/swagger': {
target: env.VITE_API_PROXY_TARGET || 'http://localhost:8080',