Skip to content

Commit

Permalink
fix: fix url not passing when using custom chat_link
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Sep 17, 2023
1 parent 328aa68 commit 12ef967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/TokensTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}"}`;
}
Expand Down

0 comments on commit 12ef967

Please sign in to comment.