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

This commit is contained in:
2026-09-20 16:37:35 +08:00
parent 2bf21a9f97
commit 9615add720
29 changed files with 118 additions and 72 deletions
@@ -1,5 +1,5 @@
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);