From 7de76f29e9751567e295ac52e40b0e236144f39d Mon Sep 17 00:00:00 2001 From: abearxiong Date: Wed, 21 Jan 2026 20:40:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20@kevisual/api=20=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E8=87=B3=200.0.23=EF=BC=8C=E6=B7=BB=E5=8A=A0=20metada?= =?UTF-8?q?ta.url=20=E5=B1=9E=E6=80=A7=E4=BB=A5=E5=A2=9E=E5=BC=BA=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E6=B3=A8=E5=86=8C=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- query/query-proxy/router-api-proxy.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 56b8f85..f9f8800 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kevisual/api", - "version": "0.0.22", + "version": "0.0.23", "description": "", "main": "mod.ts", "scripts": { diff --git a/query/query-proxy/router-api-proxy.ts b/query/query-proxy/router-api-proxy.ts index 1605e67..bea5755 100644 --- a/query/query-proxy/router-api-proxy.ts +++ b/query/query-proxy/router-api-proxy.ts @@ -35,6 +35,7 @@ export const initApi = async (opts: { _isBrowser && console.debug(`注册路由: [${r.path}] ${r?.key}`, 'API'); let metadata = r.metadata || {}; metadata.viewItem = item; + metadata.url = query.url; router.route({ path: r.path, key: r.key || '',