summaryrefslogtreecommitdiff
path: root/frontend/src/store
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/store')
-rw-r--r--frontend/src/store/authStore.ts2
-rw-r--r--frontend/src/store/flowStore.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/store/authStore.ts b/frontend/src/store/authStore.ts
index 652256c..47faed5 100644
--- a/frontend/src/store/authStore.ts
+++ b/frontend/src/store/authStore.ts
@@ -1,7 +1,7 @@
import { create } from 'zustand';
import { persist } from 'zustand/middleware';
-const API_BASE = 'http://localhost:8000';
+const API_BASE = '';
interface UserInfo {
id: number;
diff --git a/frontend/src/store/flowStore.ts b/frontend/src/store/flowStore.ts
index de23c95..3492ffe 100644
--- a/frontend/src/store/flowStore.ts
+++ b/frontend/src/store/flowStore.ts
@@ -252,7 +252,7 @@ const getStableColor = (str: string) => {
import { useAuthStore } from './authStore';
-const API_BASE = import.meta.env.VITE_BACKEND_URL || 'http://localhost:8000';
+const API_BASE = import.meta.env.VITE_BACKEND_URL || '';
const DEFAULT_USER = 'test'; // Fallback for unauthenticated requests
// Get current username directly from authStore