feat: 增强 RemoteApp 支持用户名;更新 light-code 路由处理逻辑;优化 SyncBase 文件路径检查

This commit is contained in:
2026-03-05 02:45:51 +08:00
parent c2c6d4a7d3
commit 3b383639d6
4 changed files with 19 additions and 5 deletions

View File

@@ -162,8 +162,8 @@ export const initLightCode = async (opts: Opts) => {
metadata.source = 'light-code';
metadata['light-code'] = {
id: file.id
}
app.route({
};
(app as App).route({
id: routerItem.id,
path: `${routerItem.id}__${routerItem.path}`,
key: routerItem.key,