refactor: Migrate to Hono framework for multi-platform support

- Replace Vercel-specific handler with Hono framework
- Add Cloudflare Workers support via wrangler.toml
- Restructure project: src/index.js, src/routes/messages.js
- Update README with Cloudflare deployment instructions
- Save framework decision to memory

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-25 23:02:08 +07:00
parent bfb936ae4a
commit 415790a9f1
11 changed files with 332 additions and 242 deletions

3
api/index.js Normal file
View File

@@ -0,0 +1,3 @@
import app from '../src/index.js';
export default app.fetch;