mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 05:00:30 +08:00
add noCache for sub-store
This commit is contained in:
parent
5308db9209
commit
4ce63aec7e
@ -124,6 +124,7 @@ export async function createProfile(item: Partial<IProfileItem>): Promise<IProfi
|
|||||||
if (newItem.substore) {
|
if (newItem.substore) {
|
||||||
const urlObj = new URL(`http://127.0.0.1:${subStorePort}${item.url}`)
|
const urlObj = new URL(`http://127.0.0.1:${subStorePort}${item.url}`)
|
||||||
urlObj.searchParams.set('target', 'ClashMeta')
|
urlObj.searchParams.set('target', 'ClashMeta')
|
||||||
|
urlObj.searchParams.set('noCache', 'true')
|
||||||
if (newItem.useProxy) {
|
if (newItem.useProxy) {
|
||||||
urlObj.searchParams.set('proxy', `http://127.0.0.1:${mixedPort}`)
|
urlObj.searchParams.set('proxy', `http://127.0.0.1:${mixedPort}`)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user