feat: redesign typed bracket poster editor
Verify mini program and deploy preview / verify-deploy (push) Successful in 3m9s

This commit is contained in:
2026-09-20 16:37:35 +08:00
parent b5ee950142
commit 5051466692
28 changed files with 282 additions and 258 deletions
@@ -1,6 +1,6 @@
const API_BASE = process.env.API_INTERNAL_URL || 'http://pk-lab-api:8000';
async function forward(request, context) {
async function forward(request: Request, context: { params: Promise<{ path: string[] }> }): Promise<Response> {
const { path } = await context.params;
const incoming = new URL(request.url);
const target = new URL(`/api/${path.join('/')}${incoming.search}`, API_BASE);