Rooni commited on
Commit
e25c36c
·
verified ·
1 Parent(s): 7bfd237

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +3 -3
server.js CHANGED
@@ -30,8 +30,8 @@ app.use('/plbeta', limiter);
30
  const start = `${process.env.start}`;
31
  const startconnect = `${process.env.startconnect}`;
32
 
33
- app.post('/plbeta', async (req, res) => {
34
- res.json({ content: `{"error":"", "title":"Требуется обновление", "text":"Текущая версия приложения устарела. Установите новую из нашего телеграм канала: @yufi_ru", "okb":"Обновить", "oklink":"https://t.me/yufi_ru", "cancelable":"true"}` });
35
  });
36
 
37
  app.post('/pl', async (req, res) => {
@@ -75,7 +75,7 @@ app.post('/pl', async (req, res) => {
75
  }
76
  });
77
 
78
- app.post('/update', async (req, res) => {
79
  const prompt = req.body.prompt;
80
  const apiKey = req.body.api || getRandomApiKey();
81
 
 
30
  const start = `${process.env.start}`;
31
  const startconnect = `${process.env.startconnect}`;
32
 
33
+ app.post('/update', async (req, res) => {
34
+ res.json({ content: `{"error":"", "title":"Требуется обновление", "text":"Текущая версия приложения устарела. Установите новую из нашего телеграм канала: @yufi_ru", "okb":"Обновить", "oklink":"https://t.me/yufi_ru", "cancelable":"false"}` });
35
  });
36
 
37
  app.post('/pl', async (req, res) => {
 
75
  }
76
  });
77
 
78
+ app.post('/plbeta', async (req, res) => {
79
  const prompt = req.body.prompt;
80
  const apiKey = req.body.api || getRandomApiKey();
81