Add local uris to nextjs config

This commit is contained in:
root 2026-08-06 18:58:56 +02:00
parent 74bea1a3c9
commit f26c000007

View file

@ -2,6 +2,12 @@
const apiInternalUrl = (process.env.API_INTERNAL_URL || "http://localhost:3000").replace(/\/$/, ""); const apiInternalUrl = (process.env.API_INTERNAL_URL || "http://localhost:3000").replace(/\/$/, "");
const nextConfig = { const nextConfig = {
allowedDevOrigins: [
"192.168.3.13",
"docker01.int.jappel.io",
"lb.jappel.io"
],
typescript: { typescript: {
tsconfigPath: "./tsconfig.next.json", tsconfigPath: "./tsconfig.next.json",
}, },
@ -20,3 +26,4 @@ const nextConfig = {
}; };
export default nextConfig; export default nextConfig;