update proxy
This commit is contained in:
parent
d0e6137f6b
commit
27756aabc5
File diff suppressed because one or more lines are too long
|
|
@ -19,6 +19,8 @@ export const loadApiProxyDef = async (_url: string, with_types: boolean) => {
|
||||||
const url_target = new URL(url);
|
const url_target = new URL(url);
|
||||||
const url_cur = new URL(location.href);
|
const url_cur = new URL(location.href);
|
||||||
|
|
||||||
|
url_cur.hash = "";
|
||||||
|
url_target.hash = "";
|
||||||
let is_remote = "";
|
let is_remote = "";
|
||||||
if (url_target.host !== url_cur.host) {
|
if (url_target.host !== url_cur.host) {
|
||||||
is_remote = "&remote=1";
|
is_remote = "&remote=1";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue