diff --git a/packages/socket/src/index.js b/packages/socket/src/index.js index cbc72cb..cb0bc98 100644 --- a/packages/socket/src/index.js +++ b/packages/socket/src/index.js @@ -24,6 +24,16 @@ export default { }, ); }, + '@latus/http/plugins': async ( + req, + {config: {'@latus/socket': {'packets.decorate': decorators}}}, + ) => ({ + '@latus/socket': { + 'packets.decorate': decorators.filter( + (decorator) => 'server' !== decorator.split('/').pop(), + ), + }, + }), '@latus/socket/packets': (latus) => ({ Bundle: Bundle(latus), Refresh,