This commit is contained in:
Pan Qiancheng 2025-05-09 11:10:54 +08:00
parent b958d54899
commit ef86006fae
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ async function startup(path, connector, omitWatchers, omitTimers, routine) {
router.get(connector.getEndpointRouter(), async (ctx) => {
ctx.response.body = endpoints;
});
const socketAdminMountRaw = ui?.path || '/socket-admin123123';
const socketAdminMountRaw = ui?.path || '/socket-admin';
const socketAdminMount = socketAdminMountRaw.startsWith('/')
? socketAdminMountRaw : `/${socketAdminMountRaw}`;
// 注册静态资源