From ec1efb4189da9041e31067cbe69050ae2eb53063 Mon Sep 17 00:00:00 2001 From: Philip Cheung Date: Mon, 7 Oct 2024 18:24:21 +0800 Subject: [PATCH] https --- frontend/src/client/core/request.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/client/core/request.ts b/frontend/src/client/core/request.ts index 6abb0e8..ef88096 100644 --- a/frontend/src/client/core/request.ts +++ b/frontend/src/client/core/request.ts @@ -72,6 +72,7 @@ const getUrl = (config: OpenAPIConfig, options: ApiRequestOptions): string => { const encoder = config.ENCODE_PATH || encodeURI const path = options.url + .replace("{http", "https") .replace("{api-version}", config.VERSION) .replace(/{(.*?)}/g, (substring: string, group: string) => { if (options.path?.hasOwnProperty(group)) {