Skip to content

Commit

Permalink
a little fix
Browse files Browse the repository at this point in the history
Signed-off-by: Qxisylolo <[email protected]>
  • Loading branch information
Qxisylolo committed Jan 24, 2025
1 parent 859e540 commit 63752cf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/core/public/http/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,11 @@ export class Fetch {
}),
};

const prependOptions = options.withoutClientBasePath
? { withoutClientBasePath: options.withoutClientBasePath }
: undefined;
const url = format({
pathname: shouldPrependBasePath
? this.params.basePath.prepend(options.path, prependOptions)
? this.params.basePath.prepend(options.path, {
withoutClientBasePath: options.withoutClientBasePath,
})
: options.path,
query: removedUndefined(query),
});
Expand Down

0 comments on commit 63752cf

Please sign in to comment.