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.
/version
1 parent d409368 commit 01e130bCopy full SHA for 01e130b
src/apis/index.ts
@@ -13,7 +13,7 @@ import {
13
14
export const checkEndpointAPI = (url: string, secret: string) =>
15
ky
16
- .get(url, {
+ .get(url.endsWith('/') ? `${url}version` : `${url}/version`, {
17
headers: secret
18
? {
19
Authorization: `Bearer ${secret}`,
0 commit comments