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() { 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) => { .then(r => r.json()).then((data) => {
if (data.introduction) if (data.introduction)
commonStore.setIntroduction(data.introduction); commonStore.setIntroduction(data.introduction);

View File

@ -41,7 +41,7 @@ class CommonStore {
currentModelConfigIndex: number = 0; currentModelConfigIndex: number = 0;
modelConfigs: ModelConfig[] = []; modelConfigs: ModelConfig[] = [];
// models // 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[] = []; modelSourceList: ModelSourceItem[] = [];
// downloads // downloads
downloadList: DownloadStatus[] = []; downloadList: DownloadStatus[] = [];