chore: Update API_URL to use environment variable and new default port.

This commit is contained in:
MUIS1436
2026-01-31 17:04:02 +05:00
parent 6f14c89aa4
commit cf771d08c1

View File

@@ -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 () => {