update proxy

This commit is contained in:
Rizky 2024-08-14 08:52:35 +07:00
parent d0e6137f6b
commit 27756aabc5
2 changed files with 3 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -19,6 +19,8 @@ export const loadApiProxyDef = async (_url: string, with_types: boolean) => {
const url_target = new URL(url);
const url_cur = new URL(location.href);
url_cur.hash = "";
url_target.hash = "";
let is_remote = "";
if (url_target.host !== url_cur.host) {
is_remote = "&remote=1";