diff --git a/src/routes/micro-app/module/manager.ts b/src/routes/micro-app/module/manager.ts index 2f4de7f..bccf50c 100644 --- a/src/routes/micro-app/module/manager.ts +++ b/src/routes/micro-app/module/manager.ts @@ -37,7 +37,6 @@ export const installAppFromKey = async (key: string) => { origin: app, ...rest, }; - app.key = key; fs.writeFileSync(pkgs, JSON.stringify(pkg, null, 2)); return { pkg, showAppInfo }; }; diff --git a/wxmsg/package.json b/wxmsg/package.json index fc7c671..3ea72df 100644 --- a/wxmsg/package.json +++ b/wxmsg/package.json @@ -6,7 +6,6 @@ "basename": "/root/wxmsg", "app": { "type": "system-app", - "key": "root/wxmsg", "entry": "./app.js", "runtime": [ "server"