generated from muhtadeetaron/nextjs-template
fix(api): fix api endpoint logic #5
chore(env): obscure api url in env feat(ui): render subjects according to user preparation unit
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { LoginForm, RegisterForm } from "@/types/auth";
|
||||
|
||||
export const API_URL = "https://examjam-backend.omukk.dev";
|
||||
export const API_URL = process.env.NEXT_PUBLIC_EXAMJAM_API_URL;
|
||||
|
||||
// Cookie utility function
|
||||
const setCookie = (name: string, value: string | null, days: number = 7) => {
|
||||
|
||||
Reference in New Issue
Block a user