updated
This commit is contained in:
@@ -80,7 +80,8 @@ const getUrl = (config: OpenAPIConfig, options: ApiRequestOptions): string => {
|
||||
return substring
|
||||
})
|
||||
|
||||
const url = config.BASE + path
|
||||
let url = config.BASE + path
|
||||
url = url.replace(/^http:\/\//i, 'https://')
|
||||
return options.query ? url + getQueryString(options.query) : url
|
||||
}
|
||||
|
||||
|
@@ -112,7 +112,7 @@ function AboutUsTable() {
|
||||
{parse(aboutUs.description) || "N/A"}
|
||||
</Td>
|
||||
<Td>
|
||||
<img src={"image"+import.meta.env.VITE_API_URL+"/"+aboutUs.image} width="100px" height="100px" />
|
||||
<img src={import.meta.env.VITE_IMAGE_URL+"/"+aboutUs.image} width="100px" height="100px" />
|
||||
</Td>
|
||||
<Td isTruncated maxWidth="10px">
|
||||
{aboutUs.index}
|
||||
|
Reference in New Issue
Block a user