From 137c79fce7b0907d950b7ae6962a9709bf1cde81 Mon Sep 17 00:00:00 2001 From: yutent Date: Wed, 27 Dec 2023 11:00:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E8=B0=83=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/router/router-engine.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index f230c67..66bd205 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wkitd", - "version": "1.3.2", + "version": "1.3.3", "type": "module", "main": "dist/index.js", "files": [ diff --git a/src/router/router-engine.js b/src/router/router-engine.js index a7489df..678e013 100644 --- a/src/router/router-engine.js +++ b/src/router/router-engine.js @@ -116,7 +116,6 @@ class Router { } for (let [k, route] of this.#tables) { - console.log(route, path.match(route.regexp)) let args = path.match(route.regexp) if (args) { let params = Object.create(null)