python / server.js
ayoub ayoub
Update server.js
3d360d9 verified
raw
history blame
340 Bytes
const 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}`);
});