fix: baseURL 改为 /psy 避免 SDK joinURL 双重 /api
This commit is contained in:
@@ -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(),
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user