mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-17 16:06:38 +08:00
Changes to be committed:
modified: web/src/components/TokensTable.js
This commit is contained in:
parent
e8db0a2c72
commit
f73a180fc3
@ -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) {
|
||||
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user