refactor(security): socket
This commit is contained in:
parent
5d84e2337c
commit
89446a5d4e
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user