We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b913a commit a7088d7Copy full SHA for a7088d7
1 file changed
packages/utils/src/execContext.ts
@@ -5,7 +5,7 @@ export const nextRoot = (): string => {
5
process.env.NEXT_API_ROOT !== undefined &&
6
process.env.NEXT_API_ROOT !== ""
7
)
8
- return process.env.NEXT_API_ROOT.split("/").slice(0, 3).join("");
+ return process.env.NEXT_API_ROOT.split("/").slice(0, 3).join("/");
9
return IS_DEV ? "http://localhost:3000/" : "https://discoursegraphs.com/";
10
};
11
0 commit comments