fix: add allowedDevOrigins for Coolify domain to fix blank page in Next.js 16
This commit is contained in:
@@ -3,6 +3,11 @@ const nextConfig = {
|
||||
// basePath removed: Coolify's Traefik strips the /sistem-km-next prefix before
|
||||
// forwarding to this container, so Next.js must respond at root /.
|
||||
// The Traefik path /sistem-km-next -> container / mapping handles routing.
|
||||
|
||||
// Allow the Coolify deployment domain to access Next.js dev resources.
|
||||
// Without this, Next.js 16 blocks all JS chunks from loading on non-localhost domains,
|
||||
// causing a completely blank white page.
|
||||
allowedDevOrigins: ['r48w884socg80c8sw0c04cow.203.24.51.230.sslip.io'],
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user