15 lines
451 B
TypeScript
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
|