feat: integrate Convex API and add N5 proxy functionality

- Added Convex client setup in a new module for handling Convex API interactions.
- Implemented N5Proxy to handle requests for the /n5/:slug route, querying Convex for application links.
- Updated app context to include Convex client and API.
- Adjusted routing to support new Convex API endpoints.
- Enhanced error handling for missing applications in the N5 proxy.
This commit is contained in:
2026-03-03 14:35:46 +08:00
parent 75ab160509
commit 120303961c
7 changed files with 403 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ import './routes/jwks.ts'
const simpleAppsPrefixs = [
"/api/wxmsg",
"/api/convex/"
"/api/convex/",
];