Spaces:
Paused
Paused
ayoub ayoub commited on
Update server.js
Browse files123456789const http = require('http');const PORT = process.env.PORT || 3000;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>');}).listen(PORT, () => {console.log(`🌐 Web server running at http://localhost:${PORT}`);});123456789const http = require('http');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 on Hugging Face Spaces!</h1>');}).listen(PORT, () => {console.log(`🌐 Web server running on port ${PORT}`);});
server.js+3-3