From 84f1cda661b27f1216141a3a509d4d26e2cb63d0 Mon Sep 17 00:00:00 2001 From: MOHAN Date: Sun, 2 Aug 2026 20:06:37 +0530 Subject: [PATCH] Use production reverse proxy API --- .env.example | 2 +- src/lib/api.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index eac0e25..442e345 100644 --- a/.env.example +++ b/.env.example @@ -1 +1 @@ -VITE_API_BASE_URL=http://localhost:4000/api +VITE_API_BASE_URL=https://rp.api.thedomainnest.com/api diff --git a/src/lib/api.js b/src/lib/api.js index fa14331..36cfc29 100644 --- a/src/lib/api.js +++ b/src/lib/api.js @@ -1,4 +1,4 @@ -export const API_BASE = import.meta.env.VITE_API_BASE_URL || "http://localhost:4000/api"; +export const API_BASE = "https://rp.api.thedomainnest.com/api"; async function request(path, { method = "GET", body, headers } = {}) { const response = await fetch(`${API_BASE}${path}`, {