v1.4: Segurança multi-tenant, file serving via API e UX humanizada
- Validação cross-tenant no login e rotas protegidas
- File serving via /api/files/{bucket}/{path} (eliminação DNS)
- Mensagens de erro humanizadas inline (sem pop-ups)
- Middleware tenant detection via headers customizados
- Upload de logos retorna URLs via API
- README atualizado com changelog v1.4 completo
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
reactStrictMode: false, // Desabilitar StrictMode para evitar double render que causa removeChild
|
||||
experimental: {
|
||||
externalDir: true,
|
||||
},
|
||||
@@ -23,6 +24,10 @@ const nextConfig: NextConfig = {
|
||||
key: "X-Forwarded-For",
|
||||
value: "127.0.0.1",
|
||||
},
|
||||
{
|
||||
key: "X-Forwarded-Host",
|
||||
value: "${host}",
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user