ayoub ayoub commited on
Commit
d3d070d
·
verified ·
1 Parent(s): c63ec95

Create server.js

Browse files
Files changed (1) hide show
  1. server.js +9 -0
server.js ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ const http = require('http');
2
+ const PORT = process.env.PORT || 3000;
3
+
4
+ http.createServer((req, res) => {
5
+ res.writeHead(200, {'Content-Type': 'text/html; charset=utf-8'});
6
+ res.end('<h1>🤖 Telegram FFmpeg Bot is running!</h1><p>This confirms the server is up.</p>');
7
+ }).listen(PORT, () => {
8
+ console.log(`🌐 Web server running at http://localhost:${PORT}`);
9
+ });