Skip to content

Commit

Permalink
Changes to be committed:
Browse files Browse the repository at this point in the history
	modified:   web/src/components/TokensTable.js
  • Loading branch information
guoruqiang committed Jan 16, 2024
1 parent e8db0a2 commit f73a180
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/src/components/TokensTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ const TokensTable = () => {
}
let encodedServerAddress = encodeURIComponent(serverAddress);
const chatLink = localStorage.getItem('chat_link');
const mjLink = localStorage.getItem('chat_link2');
let defaultUrl;

if (chatLink) {
Expand All @@ -352,7 +353,7 @@ const TokensTable = () => {
let url;
switch (type) {
case 'ama':
url = `https://mjgpt.grqnas.cn/#/?settings={"key":"sk-${key}","url":"${serverAddress}"}`;
url = mjLink + `/#/?settings={"key":"sk-${key}","url":"${serverAddress}"}`;
break;

case 'opencat':
Expand Down

0 comments on commit f73a180

Please sign in to comment.