use @master/manifest.json

This commit is contained in:
josc146 2023-05-23 22:18:06 +08:00
parent f8cb9511e1
commit ec7d50431e
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ export async function startup() {
}
async function initRemoteText() {
await fetch('https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner/manifest.json', { cache: 'no-cache' })
await fetch('https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner@master/manifest.json', { cache: 'no-cache' })
.then(r => r.json()).then((data) => {
if (data.introduction)
commonStore.setIntroduction(data.introduction);

View File

@ -41,7 +41,7 @@ class CommonStore {
currentModelConfigIndex: number = 0;
modelConfigs: ModelConfig[] = [];
// models
modelSourceManifestList: string = 'https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner/manifest.json;';
modelSourceManifestList: string = 'https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner@master/manifest.json;';
modelSourceList: ModelSourceItem[] = [];
// downloads
downloadList: DownloadStatus[] = [];