We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9db6e08 commit 632b6f0Copy full SHA for 632b6f0
src/paths.ts
@@ -9,6 +9,7 @@ export function formatPath(path: Paths, data = {}, params?: ParamType) {
9
? UI_BASE_PATH.replace('/beta/', '/').replace(/\/$/, '')
10
: '';
11
url += (path as string) + '/';
12
+ url = url.replaceAll('//', '/');
13
14
for (const k of Object.keys(data)) {
15
url = url.replace(':' + k, encodeURIComponent(data[k]));
0 commit comments