docs: fix api-reference with proxy (#7952)

This commit is contained in:
Shahed Nasser
2024-07-04 18:10:48 +03:00
committed by GitHub
parent 0d534d4f70
commit 1acbcf612e
17 changed files with 24 additions and 20 deletions

View File

@@ -2,5 +2,5 @@ import { config } from "../config"
import basePathUrl from "./base-path-url"
export default function getUrl(area: string, tagName?: string): string {
return `${config.baseUrl}${basePathUrl(`/api/${area}#${tagName}`)}`
return `${config.baseUrl}${basePathUrl(`/${area}#${tagName}`)}`
}