@wireapp/api-client 27.51.0 → 27.51.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/http/HttpClient.js +1 -1
- package/package.json +2 -2
package/lib/http/HttpClient.js
CHANGED
|
@@ -137,7 +137,7 @@ class HttpClient extends events_1.EventEmitter {
|
|
|
137
137
|
...config,
|
|
138
138
|
signal: abortController?.signal,
|
|
139
139
|
// We want to prefix all urls, except for the "access" endpoint
|
|
140
|
-
url: config.url
|
|
140
|
+
url: config.url?.startsWith(auth_1.AuthAPI.URL.ACCESS) ? config.url : `${this.versionPrefix}${config.url}`,
|
|
141
141
|
maxBodyLength: FILE_SIZE_100_MB,
|
|
142
142
|
maxContentLength: FILE_SIZE_100_MB,
|
|
143
143
|
});
|
package/package.json
CHANGED