Skip to content

Commit

Permalink
fix: duplicate request handler (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
levivilet authored Aug 27, 2024
1 parent 10f58c0 commit 70dba1b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/parts/CreateWebViewServer/CreateWebViewServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ export const createWebViewServer = async (port) => {
if (this.handler) {
return
}

this.handler = this.handler
this.handler = handleRequest
server.on('request', handleRequest)
},
}
Expand Down

0 comments on commit 70dba1b

Please sign in to comment.