From ec7d50431e1911da63a6a14cf8d4ca2300f2f002 Mon Sep 17 00:00:00 2001 From: josc146 Date: Tue, 23 May 2023 22:18:06 +0800 Subject: [PATCH] use @master/manifest.json --- frontend/src/startup.ts | 2 +- frontend/src/stores/commonStore.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/startup.ts b/frontend/src/startup.ts index 81c139f..a089a8c 100644 --- a/frontend/src/startup.ts +++ b/frontend/src/startup.ts @@ -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); diff --git a/frontend/src/stores/commonStore.ts b/frontend/src/stores/commonStore.ts index 02c42e6..5a3812f 100644 --- a/frontend/src/stores/commonStore.ts +++ b/frontend/src/stores/commonStore.ts @@ -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[] = [];