Spaces:
Paused
Paused
Update server.js
Browse files29 unmodified lines303132333435363737 unmodified lines7576777879808129 unmodified linesconst start = `${process.env.start}`;const startconnect = `${process.env.startconnect}`;app.post('/plbeta', async (req, res) => {res.json({ content: `{"error":"", "title":"Требуется обновление", "text":"Текущая версия приложения устарела. Установите новую из нашего телеграм канала: @yufi_ru", "okb":"Обновить", "oklink":"https://t.me/yufi_ru", "cancelable":"true"}` });});app.post('/pl', async (req, res) => {37 unmodified lines}});app.post('/update', async (req, res) => {const prompt = req.body.prompt;const apiKey = req.body.api || getRandomApiKey();29 unmodified lines303132333435363737 unmodified lines7576777879808129 unmodified linesconst start = `${process.env.start}`;const startconnect = `${process.env.startconnect}`;app.post('/update', async (req, res) => {res.json({ content: `{"error":"", "title":"Требуется обновление", "text":"Текущая версия приложения устарела. Установите новую из нашего телеграм канала: @yufi_ru", "okb":"Обновить", "oklink":"https://t.me/yufi_ru", "cancelable":"false"}` });});app.post('/pl', async (req, res) => {37 unmodified lines}});app.post('/plbeta', async (req, res) => {const prompt = req.body.prompt;const apiKey = req.body.api || getRandomApiKey();
server.js+3-3