update
This commit is contained in:
1 parent
8757431c79
commit
b2a409e6b7
14 files changed
+286
-175
No files matched your search
+7
-4
@@ -1,12 +1,15 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const allowedOrigin = process.env.NEXT_ALLOWED_DEV_ORIGIN;
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
output: "standalone",
|
||||
trailingSlash: false,
|
||||
poweredByHeader: false,
|
||||
allowedDevOrigins: [
|
||||
"192.168.178.59", // deine PC-IP
|
||||
],
|
||||
};
|
||||
|
||||
if (allowedOrigin) {
|
||||
nextConfig.allowedDevOrigins = [allowedOrigin];
|
||||
}
|
||||
|
||||
export default nextConfig;
|
||||
Reference in new issue
Block a user