diff --git a/templates/base/http-clients/ky-http-client.ejs b/templates/base/http-clients/ky-http-client.ejs index 26fcabfa..490fc0ae 100644 --- a/templates/base/http-clients/ky-http-client.ejs +++ b/templates/base/http-clients/ky-http-client.ejs @@ -112,7 +112,7 @@ export class HttpClient { } } - const request = this.ky(path, { + const request = this.ky(path.replace(/^\//, ''), { ...options, headers, searchParams: query,