helpyourneighbour/backend/test-server.js
OpenClaw 9a26ba908a
Some checks are pending
Docker Test / test (push) Waiting to run
fix(#85): Run expanded local discovery and continue with next actionable task
2026-03-12 17:41:37 +00:00

16 lines
No EOL
392 B
JavaScript

import express from 'express';
import { createServer } from 'http';
// Simple test to see if we can get a response
const app = express();
app.use(express.json());
app.get('/health', (_req, res) => {
console.log('Health endpoint hit');
res.json({ status: 'ok' });
});
const server = createServer(app);
server.listen(3001, () => {
console.log('Test server listening on port 3001');
});