pythonj / server.js
ayoub ayoub
Create server.js
d3d070d verified
raw
history blame
367 Bytes
const 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}`);
});