fix: fix url not passing when using custom chat_link
Some checks are pending
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Waiting to run
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Waiting to run
Publish Docker image (arm64) / Push Docker image to multiple registries (push) Waiting to run
Linux Release / release (push) Waiting to run
macOS Release / release (push) Waiting to run
Windows Release / release (push) Waiting to run

This commit is contained in:
JustSong 2023-09-17 17:19:12 +08:00
parent 328aa68255
commit 12ef9679a7

View File

@ -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}"}`;
}