parent
5136605322
commit
137c79fce7
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "wkitd",
|
"name": "wkitd",
|
||||||
"version": "1.3.2",
|
"version": "1.3.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
|
|
@ -116,7 +116,6 @@ class Router {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (let [k, route] of this.#tables) {
|
for (let [k, route] of this.#tables) {
|
||||||
console.log(route, path.match(route.regexp))
|
|
||||||
let args = path.match(route.regexp)
|
let args = path.match(route.regexp)
|
||||||
if (args) {
|
if (args) {
|
||||||
let params = Object.create(null)
|
let params = Object.create(null)
|
||||||
|
|
Loading…
Reference in New Issue