add noCache for sub-store

This commit is contained in:
pompurin404 2024-11-14 17:17:42 +08:00
parent 5308db9209
commit 4ce63aec7e
No known key found for this signature in database

View File

@ -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 {