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 056584f commit 17ed0aaCopy full SHA for 17ed0aa
src/route.ts
@@ -25,7 +25,7 @@ export class Route {
25
26
request({ method, path, headers = {}, ...opts }: any) {
27
if (!path) opts.path = "";
28
- else if (this._path && path.charAt(0) !== "/") opts.spath = `/${path}`;
+ else if (this._path && path.charAt(0) !== "/") opts.path = `/${path}`;
29
else opts.path = path;
30
opts.basePath = this._path;
31
opts.headers = { ...this._headers, ...headers };
0 commit comments