mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
The allowlist should be origin domains that are allowed to send the requests, not the list of forwarded hosts (i.e. reverse proxies).
13 lines
228 B
JavaScript
13 lines
228 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
module.exports = {
|
|
productionBrowserSourceMaps: true,
|
|
logging: {
|
|
fetches: {},
|
|
},
|
|
experimental: {
|
|
serverActions: {
|
|
allowedOrigins: ['localhost:41831'],
|
|
},
|
|
},
|
|
}
|