From 478100200dff8400a6e47502fa4a6db035fd6532 Mon Sep 17 00:00:00 2001 From: blackhao <13851610112@163.com> Date: Wed, 10 Dec 2025 21:07:17 -0600 Subject: fix: use relative API paths for production deployment --- frontend/src/store/authStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/src/store/authStore.ts') 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; -- cgit v1.2.3