chore(web): APIs renomeadas do AntD 6 e allowedHosts no dev server

- `<Space direction>` -> `orientation` e `children` -> `content` no
  Popconfirm, acompanhando o rename da API no Ant Design 6.
- `allowedHosts: true` no Vite para permitir acesso ao dev server por
  hostname da rede local.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-20 18:17:30 +00:00
parent 8838db16ae
commit 2a33a5aa4b
3 changed files with 7 additions and 6 deletions

View File

@@ -10,6 +10,7 @@ export default defineConfig(() => ({
server: {
port: 4200,
host: '0.0.0.0',
allowedHosts: true,
// Proxy /api/* → API Nest em :3000 (default API_PORT).
// Evita CORS em dev e mantém URL relativa no código da Web — em produção,
// mesmo origin via Nginx (/api/* → backend).