fix: build for multi page frontend

This commit is contained in:
Kentai Radiquum 2025-05-05 01:57:31 +05:00
parent af7b8a6fea
commit 7f704ec75a
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
3 changed files with 14 additions and 3 deletions

View file

@ -1,4 +1,4 @@
const API = process.env.NEXT_PUBLIC_API_URL;
const API = process.env.NEXT_PUBLIC_API_URL || "/api";
export const ENDPOINTS = {
createPack: `${API}/pack/new`,