WalleGriffkinder commited on
Commit
0fd2341
·
verified ·
1 Parent(s): 9d04a59

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -14,7 +14,7 @@ app.all('*', async (req, res) => {
14
  if (req.url === '/') return;
15
 
16
  try {
17
- const url = `https://api.groq.com${req.url}`;
18
 
19
  // Копируем и фильтруем заголовки
20
  const headers = {...req.headers};
 
14
  if (req.url === '/') return;
15
 
16
  try {
17
+ const url = `https://generativelanguage.googleapis.com${req.url}`;
18
 
19
  // Копируем и фильтруем заголовки
20
  const headers = {...req.headers};