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:
9
wrangler.toml
Normal file
9
wrangler.toml
Normal file
@@ -0,0 +1,9 @@
|
||||
name = "claude-central-gateway"
|
||||
main = "src/index.js"
|
||||
compatibility_date = "2024-01-01"
|
||||
|
||||
[vars]
|
||||
# Set these in Cloudflare dashboard or wrangler.toml
|
||||
# GATEWAY_TOKEN = "your-token"
|
||||
# OPENAI_API_KEY = "sk-..."
|
||||
# MODEL_MAP = "claude-sonnet-4-20250514:gpt-4o"
|
||||
Reference in New Issue
Block a user