diff --git a/src/parts/CreateWebViewServer/CreateWebViewServer.ts b/src/parts/CreateWebViewServer/CreateWebViewServer.ts index 38f92a11..5235e540 100644 --- a/src/parts/CreateWebViewServer/CreateWebViewServer.ts +++ b/src/parts/CreateWebViewServer/CreateWebViewServer.ts @@ -14,8 +14,7 @@ export const createWebViewServer = async (port) => { if (this.handler) { return } - - this.handler = this.handler + this.handler = handleRequest server.on('request', handleRequest) }, }