Spaces:
Running
Running
Update server.js
Browse files
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 |
|