chore: voltar para Next 15.5.5 e React 18

This commit is contained in:
Esdras Renan 2025-10-16 21:12:00 -03:00
parent 508ffe5022
commit 0cf1892256
5 changed files with 26 additions and 23 deletions

View file

@ -1,9 +1,14 @@
import type { NextConfig } from "next"
import { ALLOWED_HOSTS } from "./src/config/allowed-hosts"
const nextConfig = {
experimental: {
turbopackFileSystemCacheForDev: true,
trustHostHeader: 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