Skip to content

Commit 25bef9e

Browse files
authored
fix: fix create system app error (#240)
1 parent 1228f76 commit 25bef9e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/system-server/src/init.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ async function main() {
5151
logger.info('start system extension server app')
5252

5353
// init system app route
54-
let rt = await createApplicationRoute(app.name, app.appid, 0)
54+
const finalApp = await getApplicationByAppid(Config.SYSTEM_EXTENSION_APPID)
55+
let rt = await createApplicationRoute(finalApp.name, finalApp.appid, 0)
5556
if (!rt) {
5657
logger.error('Error: create route failed')
5758
}

0 commit comments

Comments
 (0)