yxmiler commited on
Commit
a2192bd
·
verified ·
1 Parent(s): 5cac33a

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -0
index.js CHANGED
@@ -830,6 +830,7 @@ app.post('/hf/v1/chat/completions', async (req, res) => {
830
  throw new Error('无可用令牌');
831
  }
832
  Logger.info(`当前令牌索引: ${CONFIG.SSO_INDEX}`, 'Server');
 
833
  const newMessageReq = await fetch(`${CONFIG.API.BASE_URL}/api/rpc`, {
834
  method: 'POST',
835
  headers: {
 
830
  throw new Error('无可用令牌');
831
  }
832
  Logger.info(`当前令牌索引: ${CONFIG.SSO_INDEX}`, 'Server');
833
+ Logger.info(`当前令牌: ${CONFIG.API.SIGNATURE_COOKIE}`, 'Server');
834
  const newMessageReq = await fetch(`${CONFIG.API.BASE_URL}/api/rpc`, {
835
  method: 'POST',
836
  headers: {