sistema-de-chamados/next.config.ts
2025-10-16 21:12:00 -03:00

15 lines
451 B
TypeScript

import type { NextConfig } from "next"
import { ALLOWED_HOSTS } from "./src/config/allowed-hosts"
const nextConfig = {
experimental: {
turbopackFileSystemCacheForDev: true,
},
// No Next 16 specific trustHostHeader flag; we whitelist via classic server.allowedHosts.
// @ts-expect-error server.allowedHosts disponível na linha 15.x
server: {
allowedHosts: [...ALLOWED_HOSTS],
},
} satisfies NextConfig
export default nextConfig