We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67084c0 commit 1bf7e5dCopy full SHA for 1bf7e5d
js/botasaurus-desktop-api/src/index.ts
@@ -69,8 +69,6 @@ function normalizePath(path: string): string {
69
.join("/")
70
.replace(/\/+/g, "/");
71
}
72
-
73
-// @ts-ignore
74
function cleanBasePath(apiBasePath: string | null | undefined){
75
76
if (typeof apiBasePath === "string") {
@@ -89,9 +87,9 @@ function cleanBasePath(apiBasePath: string | null | undefined){
89
87
90
88
return path;
91
+ return ''
92
93
94
95
export class Api {
96
private _apiUrl: string;
97
private _apiBasePath: string;
0 commit comments