Rooni commited on
Commit
f97d87a
·
verified ·
1 Parent(s): 5de0c8e

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +4 -0
server.js CHANGED
@@ -25,6 +25,10 @@ app.post('/generate', async (req, res) => {
25
  });
26
 
27
  app.post('/cr', async (req, res) => {
 
 
 
 
28
  const prompt = req.body.prompt;
29
  const apiKey = req.body.api || openai_key;
30
 
 
25
  });
26
 
27
  app.post('/cr', async (req, res) => {
28
+ res.json({ content: `{"whate":"🪨", "howe":"ОБНОВИТЕСЬ", "text":"Текущая версия приложения устарела. Установите новую из нашего телеграм канала: @yufi_ru", "succ":"победа", "what":"Обновите", "how":"Версию", "howl":"@yufi_ru"}` });
29
+ }
30
+
31
+ app.post('/cre', async (req, res) => {
32
  const prompt = req.body.prompt;
33
  const apiKey = req.body.api || openai_key;
34