Initial commit
Deploy Node App / deploy (push) Failing after 3s

This commit is contained in:
2026-08-18 10:19:43 +00:00
parent 62af4083b6
commit 9255902f4a
+12
View File
@@ -0,0 +1,12 @@
const http = require('http');
const port = process.env.PORT || 3002;
const server = http.createServer((req, res) => {
res.statusCode = 200;
res.setHeader('Content-Type', 'text/plain');
res.end('Node app deployed from Gitea\n');
});
server.listen(port, '127.0.0.1', () => {
console.log(`Node app running on port ${port}`);
});