Update packages, make frontend url public env var

This commit is contained in:
Hannah dagemark 2026-09-02 21:37:51 +02:00
commit 3be05a9752
3 changed files with 838 additions and 582 deletions

View file

@ -1,2 +1,2 @@
FRONTEND_URL=
NEXT_PUBLIC_FRONTEND_URL=
BACKEND_URL=

View file

@ -1,6 +1,6 @@
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>(
bffUrl: string | URL,

1416
package-lock.json generated

File diff suppressed because it is too large Load diff