fix: baseURL 改为 /psy 避免 SDK joinURL 双重 /api

This commit is contained in:
jackyu66git
2026-08-05 16:36:47 +08:00
parent 9f65c11bad
commit 583133dd09
+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). */ /** Shared API client for user-h5 (proxied to Go in dev). */
export const api = createClient({ export const api = createClient({
baseURL: '/psy/api', baseURL: '/psy',
adapters: createBrowserAdapters(), adapters: createBrowserAdapters(),
}) })