Add APP URL env variable to frontend project

This commit is contained in:
2025-03-16 10:58:15 +01:00
parent 52476151a4
commit 4d1bf86d19
4 changed files with 7 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
export const RESERVED_SLUGS = ["new", "edit", "delete", "settings"];
export const BACKEND_API_URL = process.env.NEXT_PUBLIC_API_URL;
export const APP_URL =
process.env.NEXT_PUBLIC_APP_URL || "http://localhost:3000";