更新 package.json 版本号至 0.0.12;优化 isLocalhost 函数以处理空主机名;修复 handleRequest 中对 dns.hostName 的访问;在轻代码列表中添加 code 字段;更新示例路由描述

This commit is contained in:
2026-01-26 04:24:00 +08:00
parent 3464bd240b
commit 27f170ae2b
5 changed files with 8 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ const app = new App();
app.route({
path: 'hello',
description: 'LightCode 示例路由',
description: 'LightCode 示例路由 2323232323',
metadata: {
tags: ['light-code', 'example'],
},