From cf771d08c13f3a3454731de5a2b16b605e3e3511 Mon Sep 17 00:00:00 2001 From: MUIS1436 Date: Sat, 31 Jan 2026 17:04:02 +0500 Subject: [PATCH] chore: Update API_URL to use environment variable and new default port. --- src/lib/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/api.ts b/src/lib/api.ts index ab94f67..a0c56e6 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -1,4 +1,4 @@ -const API_URL = 'http://localhost:3001/api'; +const API_URL = import.meta.env.VITE_API_URL || 'http://localhost:9173/api'; export const auth = { getMicrosoftAuthUrl: async () => {