Add hostname & port to nextjs.config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
tobias 2024-06-18 08:28:50 +02:00
parent f6c1f4fe78
commit a169c111c2

View File

@ -7,6 +7,11 @@ const nextConfig = {
reactCompiler: false,
},
output: 'standalone',
env: {
customKey: 'my-value',
PORT: env.process.PORT,
HOSTNAME: env.process.HOSTNAME,
},
}
export default withPayload(nextConfig)