feat: 完善后台部署与API前缀配置
This commit is contained in:
1 parent
c821d6c7db
commit
2b1035dbc8
7 files changed
+54
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { ApiClient } from "@personal-brand/api-client";
|
||||
|
||||
export const apiBaseUrl = import.meta.env.VITE_API_BASE_URL ?? "http://localhost:3001";
|
||||
export const apiBaseUrl = import.meta.env.VITE_API_BASE_URL ?? "/api";
|
||||
export async function authenticatedFetch(
|
||||
input: RequestInfo | URL,
|
||||
init?: RequestInit,
|
||||
|
||||
Reference in new issue
Block a user