mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-12-24 11:25:52 +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) {
|
||||
const urlObj = new URL(`http://127.0.0.1:${subStorePort}${item.url}`)
|
||||
urlObj.searchParams.set('target', 'ClashMeta')
|
||||
urlObj.searchParams.set('noCache', 'true')
|
||||
if (newItem.useProxy) {
|
||||
urlObj.searchParams.set('proxy', `http://127.0.0.1:${mixedPort}`)
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user