Spaces:
Running
Running
ayoub ayoub
commited on
Update server.js
Browse files
server.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
const http = require('http');
|
2 |
-
const PORT = process.env.PORT ||
|
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
|
7 |
}).listen(PORT, () => {
|
8 |
-
console.log(`🌐 Web server running
|
9 |
});
|
|
|
1 |
const http = require('http');
|
2 |
+
const PORT = process.env.PORT || 7860;
|
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 on Hugging Face Spaces!</h1>');
|
7 |
}).listen(PORT, () => {
|
8 |
+
console.log(`🌐 Web server running on port ${PORT}`);
|
9 |
});
|