Add local uris to nextjs config
This commit is contained in:
parent
74bea1a3c9
commit
f26c000007
1 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue