Update packages, make frontend url public env var
This commit is contained in:
parent
8ac696a02b
commit
3be05a9752
3 changed files with 838 additions and 582 deletions
|
|
@ -1,2 +1,2 @@
|
||||||
FRONTEND_URL=
|
NEXT_PUBLIC_FRONTEND_URL=
|
||||||
BACKEND_URL=
|
BACKEND_URL=
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { RequestInit } from "next/dist/server/web/spec-extension/request";
|
import { RequestInit } from "next/dist/server/web/spec-extension/request";
|
||||||
|
|
||||||
const FRONTEND_URL = process.env.FRONTEND_URL;
|
const FRONTEND_URL = process.env.NEXT_PUBLIC_FRONTEND_URL;
|
||||||
|
|
||||||
export async function cmFetch<T>(
|
export async function cmFetch<T>(
|
||||||
bffUrl: string | URL,
|
bffUrl: string | URL,
|
||||||
|
|
|
||||||
1416
package-lock.json
generated
1416
package-lock.json
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue