From b276500718f48b07cc17fce21567ed7d826b6700 Mon Sep 17 00:00:00 2001 From: philipcheung Date: Wed, 22 Jan 2025 18:39:27 +0800 Subject: [PATCH] https problem --- frontend/src/client/core/request.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/client/core/request.ts b/frontend/src/client/core/request.ts index 33dd6d7..a60b5d5 100644 --- a/frontend/src/client/core/request.ts +++ b/frontend/src/client/core/request.ts @@ -82,7 +82,7 @@ const getUrl = (config: OpenAPIConfig, options: ApiRequestOptions): string => { let url = config.BASE + path - //url = url.replace(/^http:\/\//i, 'https://') + url = url.replace(/^http:\/\//i, 'https://') return options.query ? url + getQueryString(options.query) : url }