fix: API baseURL 改为 /psy/api + gitignore Go 二进制

This commit is contained in:
jackyu66git
2026-08-05 16:24:40 +08:00
parent b46d651892
commit 9f65c11bad
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -12,6 +12,7 @@ dist/
# Go
apps/api/bin/
apps/api/yuxingu-api
apps/api/tmp/
*.exe
+1 -1
View File
@@ -2,6 +2,6 @@ import { createClient, createBrowserAdapters } from '@yuxingu/sdk'
/** Shared API client for user-h5 (proxied to Go in dev). */
export const api = createClient({
baseURL: '',
baseURL: '/psy/api',
adapters: createBrowserAdapters(),
})