This commit is contained in:
egnbkts committed 2026-05-13 13:13:57 +02:00
1 parent 8757431c79
commit b2a409e6b7
14 files changed
+286 -175

No files matched your search

+7 -4
View File
@@ -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;