keungliang commited on
Commit
10139e6
·
verified ·
1 Parent(s): ab3866d

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +0 -1
index.js CHANGED
@@ -618,7 +618,6 @@ app.get('/v1/models', (req, res) => {
618
  });
619
  });
620
  app.post('/v1/chat/completions', async (req, res) => {
621
- res.redirect(307, '/2/grok/add_response.json');
622
  try {
623
  const authToken = req.headers.authorization?.replace('Bearer ', '');
624
  if (authToken !== CONFIG.API.API_KEY) {
 
618
  });
619
  });
620
  app.post('/v1/chat/completions', async (req, res) => {
 
621
  try {
622
  const authToken = req.headers.authorization?.replace('Bearer ', '');
623
  if (authToken !== CONFIG.API.API_KEY) {