Spaces:
Paused
Paused
ayoub ayoub commited on
Update server.js
Browse files122345667889const http = require('http');const PORT = process.env.PORT || 3000;const PORT = process.env.PORT || 7860;
http.createServer((req, res) => { res.writeHead(200, {'Content-Type': 'text/html; charset=utf-8'}); res.end('<h1>🤖 Telegram FFmpeg Bot is running!</h1><p>This confirms the server is up.</p>'); res.end('<h1>🤖 Telegram FFmpeg Bot is running on Hugging Face Spaces!</h1>');}).listen(PORT, () => { console.log(`🌐 Web server running at http://localhost:${PORT}`); console.log(`🌐 Web server running on port ${PORT}`);});server.js+3-3