From 12ef9679a7dd3e2f10e57a056f8f7a46f9fced46 Mon Sep 17 00:00:00 2001 From: JustSong Date: Sun, 17 Sep 2023 17:19:12 +0800 Subject: [PATCH] fix: fix url not passing when using custom chat_link --- web/src/components/TokensTable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/TokensTable.js b/web/src/components/TokensTable.js index b45f07dfdd..c7ec9b485a 100644 --- a/web/src/components/TokensTable.js +++ b/web/src/components/TokensTable.js @@ -96,7 +96,7 @@ const TokensTable = () => { let nextUrl; if (nextLink) { - nextUrl = nextLink + `/#/?settings={"key":"sk-${key}"}`; + nextUrl = nextLink + `/#/?settings={"key":"sk-${key}","url":"${serverAddress}"}`; } else { nextUrl = `https://chat.oneapi.pro/#/?settings={"key":"sk-${key}","url":"${serverAddress}"}`; }