upload images
This commit is contained in:
@@ -80,8 +80,7 @@ const getUrl = (config: OpenAPIConfig, options: ApiRequestOptions): string => {
|
||||
return substring
|
||||
})
|
||||
|
||||
let url = config.BASE + path
|
||||
url = url.replace(/^http:\/\//i, 'https://')
|
||||
const url = config.BASE + path
|
||||
return options.query ? url + getQueryString(options.query) : url
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user