refactor(striker-ui-api): remove unnecessary wrapper in main process starter

main
Tsu-ba-me 9 months ago
parent 1d9057001a
commit 7b3e445ed0
  1. 2
      striker-ui-api/src/index.ts

@ -20,7 +20,6 @@ access.once('active', async () => {
/* webpackMode: "eager" */ './middlewares' /* webpackMode: "eager" */ './middlewares'
); );
(async () => {
stdout(`Starting main process with ownership ${getuid()}:${getgid()}`); stdout(`Starting main process with ownership ${getuid()}:${getgid()}`);
const server = (await app).listen(PORT, () => { const server = (await app).listen(PORT, () => {
@ -40,5 +39,4 @@ access.once('active', async () => {
}); });
server.on('upgrade', proxyServerVncUpgrade); server.on('upgrade', proxyServerVncUpgrade);
})();
}); });

Loading…
Cancel
Save