From 6971e0782bcf3081bbb58104bdc7d91156c87adc Mon Sep 17 00:00:00 2001 From: Robin Choice Date: Sun, 12 Apr 2026 20:46:07 +0200 Subject: [PATCH] Change /migrate to GET (Coolify proxy blocks POST on root) Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/api/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts index dd4274f..c3f75f8 100644 --- a/apps/api/src/index.ts +++ b/apps/api/src/index.ts @@ -49,7 +49,7 @@ const app = new Hono() return c.json({ error: err.message }, 500); }) .get('/health', (c) => c.json({ status: 'ok' })) - .post('/migrate', async (c) => { + .get('/migrate', async (c) => { try { const fs = await import('fs'); const pathMod = await import('path');