Files
test-node/server.js

18 lines
455 B
JavaScript
Raw Normal View History

2026-03-19 19:44:54 +09:00
const express = require('express');
const app = express();
const PORT = process.env.PORT || 3000;
app.get('/', (req, res) => {
res.json({ app: 'test-node', status: 'running', time: new Date().toISOString() });
});
app.get('/health', (req, res) => {
res.json({ status: 'ok' });
});
app.listen(PORT, '0.0.0.0', () => {
console.log(`test-node running on port ${PORT}`);
});
2026-03-19 20:24:02 +09:00
// updated Thu Mar 19 20:24:02 2026
2026-03-19 20:25:22 +09:00
// v2 Thu Mar 19 20:25:22 2026