UNPKG

@nymphjs/pubsub

Version:

Nymph.js - PubSub Server

12 lines 398 B
export default { originIsAllowed: () => { throw new Error('You must provide a "originIsAllowed" function to PubSub config to determine if client origin is allowed.'); }, entries: ['ws://127.0.0.1:8080/'], relays: [ //'ws://127.0.0.1:8080/', ], broadcastCounts: false, logger: (type, ...args) => console[type](...args), }; //# sourceMappingURL=defaults.js.map