This commit is contained in:
Rizky 2024-01-25 15:31:08 +07:00
parent f12ab50572
commit ce4b1a5f7a
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import { fetchViaProxy } from "../proxy";
export const loadApiProxyDef = async (_url: string, with_types: boolean) => { export const loadApiProxyDef = async (_url: string, with_types: boolean) => {
const url = trim(_url, "/"); const url = trim(_url, "/");
console.log(url, _url);
const raw = await fetchViaProxy(urlPath(url, "/_prasi/_")); const raw = await fetchViaProxy(urlPath(url, "/_prasi/_"));
let ver = ""; let ver = "";
if (raw && (raw as any).prasi) { if (raw && (raw as any).prasi) {