Skip to content

Commit 9452022

Browse files
Fixed GET
1 parent b890f0f commit 9452022

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

backend/server.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ expressApplication.post('/api/admin/trigger-weather-check', async (req, res) =>
5454

5555
// ─── Health Check ─────────────────────────────────────────────────────────────
5656

57+
expressApplication.get('/', (request, response) => {
58+
response.status(200).json({
59+
status: 'ok',
60+
serviceName: 'GigShield Parametric Insurance API',
61+
message: 'Backend is running. Use /api/health for detailed health status.',
62+
});
63+
});
64+
5765
expressApplication.get('/api/health', (request, response) => {
5866
response.status(200).json({
5967
status: 'healthy',

0 commit comments

Comments
 (0)