更新依赖项,优化 WebSocket 处理,添加系统版本路由
This commit is contained in:
11
src/route.ts
11
src/route.ts
@@ -166,3 +166,14 @@ app
|
||||
}
|
||||
})
|
||||
.addTo(app);
|
||||
|
||||
|
||||
app.route({
|
||||
path: 'system',
|
||||
key: 'version'
|
||||
}).define(async (ctx) => {
|
||||
ctx.body = {
|
||||
version: '0.0.1',
|
||||
name: 'KeVisual Backend System',
|
||||
}
|
||||
}).addTo(app);
|
||||
Reference in New Issue
Block a user