mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-13 16:03:35 +02:00
8 lines
199 B
JavaScript
8 lines
199 B
JavaScript
'use strict';
|
|
|
|
var mubsub = require('mubsub-nbb');
|
|
var db = require('../mongo');
|
|
var client = mubsub(db.getConnectionString(), db.getConnectionOptions());
|
|
|
|
module.exports = client.channel('pubsub');
|