mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-12-24 19:36:11 +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…
Reference in New Issue
Block a user