feat & refactor: add more packetElement & refactor packetMsg

This commit is contained in:
pk5ls20
2024-10-18 16:01:54 +08:00
parent 640cc6f0c8
commit 4ac05f3f6f
10 changed files with 119 additions and 38 deletions

View File

@@ -64,6 +64,7 @@ export class OB11PassiveHttpAdapter implements IOB11NetworkAdapter {
});
this.app.use((req, res, next) => this.authorize(this.token, req, res, next));
// @ts-ignore
this.app.use((req, res) => this.handleRequest(req, res));
this.server.listen(this.port, () => {