build
This commit is contained in:
parent
b958d54899
commit
ef86006fae
|
|
@ -314,7 +314,7 @@ async function startup(path, connector, omitWatchers, omitTimers, routine) {
|
||||||
router.get(connector.getEndpointRouter(), async (ctx) => {
|
router.get(connector.getEndpointRouter(), async (ctx) => {
|
||||||
ctx.response.body = endpoints;
|
ctx.response.body = endpoints;
|
||||||
});
|
});
|
||||||
const socketAdminMountRaw = ui?.path || '/socket-admin123123';
|
const socketAdminMountRaw = ui?.path || '/socket-admin';
|
||||||
const socketAdminMount = socketAdminMountRaw.startsWith('/')
|
const socketAdminMount = socketAdminMountRaw.startsWith('/')
|
||||||
? socketAdminMountRaw : `/${socketAdminMountRaw}`;
|
? socketAdminMountRaw : `/${socketAdminMountRaw}`;
|
||||||
// 注册静态资源
|
// 注册静态资源
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue