mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
In `test/production/graceful-shutdown/index.test.ts`, 2 tests cases are always failing, disabled them for now to investigate later. In `test/e2e/app-dir/actions-allowed-origins/app-action-allowed-origins.test.ts`, the hard-coded `port` was used sometimes already been used, so we change that to a "random" port which can help find an available port instead of `'0'`. Co-authored-by: JJ Kasper <[email protected]>
13 lines
242 B
JavaScript
13 lines
242 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
module.exports = {
|
|
productionBrowserSourceMaps: true,
|
|
logging: {
|
|
fetches: {},
|
|
},
|
|
experimental: {
|
|
serverActions: {
|
|
allowedOrigins: ['localhost:' + process.env.PORT],
|
|
},
|
|
},
|
|
}
|