mirror of
https://github.com/tiennm99/claude-central-gateway.git
synced 2026-04-17 15:20:33 +00:00
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:
12
vercel.json
12
vercel.json
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"buildCommand": "npm run build",
|
||||
"devCommand": "npm run dev",
|
||||
"installCommand": "npm install",
|
||||
"framework": null,
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/v1/messages",
|
||||
"destination": "/api/v1/messages"
|
||||
},
|
||||
{
|
||||
"source": "/v1/:path*",
|
||||
"destination": "/api/v1/:path*"
|
||||
"source": "/(.*)",
|
||||
"destination": "/api/index"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user