nextjs assets fix
This commit is contained in:
@@ -3,8 +3,10 @@ const uploadMaxBytes = Number.parseInt(process.env.UPLOAD_MAX_BYTES || '0', 10);
|
|||||||
const actionBodySizeLimit = Number.isFinite(uploadMaxBytes) && uploadMaxBytes > 0
|
const actionBodySizeLimit = Number.isFinite(uploadMaxBytes) && uploadMaxBytes > 0
|
||||||
? `${uploadMaxBytes}`
|
? `${uploadMaxBytes}`
|
||||||
: '1gb';
|
: '1gb';
|
||||||
|
const managementPath = '/manage';
|
||||||
|
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
|
assetPrefix: managementPath,
|
||||||
poweredByHeader: false,
|
poweredByHeader: false,
|
||||||
experimental: {
|
experimental: {
|
||||||
serverActions: {
|
serverActions: {
|
||||||
|
|||||||
Reference in New Issue
Block a user