diff --git a/src/components/Main.vue b/src/components/Main.vue index 684258d..f445c72 100644 --- a/src/components/Main.vue +++ b/src/components/Main.vue @@ -391,7 +391,7 @@ async function apiSolver(){ return } let host=runUrl.value.split("NetworkPanelApi://")[1] - let resp:any = await fetch(import.meta.env.VITE_API_URL+"url.ajax?"+new URLSearchParams({host:host}), { + let resp:any = await fetch(import.meta.env.VITE_API_URL+"url.ajax?"+new URLSearchParams({host:host,cache:window.location.host}), { mode: "cors", redirect: "follow", referrerPolicy: "no-referrer" diff --git a/src/components/Mark.vue b/src/components/Mark.vue index 62d2a70..21acf4e 100644 --- a/src/components/Mark.vue +++ b/src/components/Mark.vue @@ -104,6 +104,7 @@ watch(show,(ns,os)=>{ }) const mark:Ref=ref([]) const api =async(args:string[][])=>{ + args.push(["cache", window.location.host]) const response = await fetch(import.meta.env.VITE_API_URL+"get.ajax?"+new URLSearchParams(args).toString(), { mode: "cors", redirect: "follow",