We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b2382b commit 0a400bdCopy full SHA for 0a400bd
src/client.ts
@@ -32,7 +32,7 @@ export function createClient(config: {
32
33
// Create the base axios client
34
const axiosClient = createAxiosClient({
35
- baseURL: `${serverUrl.endsWith("/api") ? serverUrl : `${serverUrl}/api`}`,
+ baseURL: `${serverUrl}/api`,
36
headers: {
37
"X-App-Id": String(appId),
38
"X-Environment": env,
@@ -44,7 +44,7 @@ export function createClient(config: {
44
});
45
46
const functionsAxiosClient = createAxiosClient({
47
48
49
50
0 commit comments