Add standalone option
This commit is contained in:
@@ -2,7 +2,13 @@ import type { NextConfig } from "next";
|
|||||||
|
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
compress: false,
|
compress: false,
|
||||||
allowedDevOrigins: ['local-origin.dev', '*.local-origin.dev', '172.17.96.1', '192.168.1.135', '0.0.0.0'],
|
allowedDevOrigins: [
|
||||||
|
"local-origin.dev",
|
||||||
|
"*.local-origin.dev",
|
||||||
|
"172.17.96.1",
|
||||||
|
"192.168.1.135",
|
||||||
|
"0.0.0.0",
|
||||||
|
],
|
||||||
async rewrites() {
|
async rewrites() {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
@@ -11,6 +17,7 @@ const nextConfig: NextConfig = {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
output: "standalone",
|
||||||
};
|
};
|
||||||
|
|
||||||
export default nextConfig;
|
export default nextConfig;
|
||||||
|
|||||||
Reference in New Issue
Block a user