@flowfuse/flowfuse
Version:
An open source low-code development platform
11 lines (8 loc) • 325 B
JavaScript
const { DeviceTunnelManager } = require('./DeviceTunnelManager')
module.exports.init = function (app) {
if (app.comms) {
app.config.features.register('deviceEditor', true, true)
// Add the tunnelManager to app.comms.devices
app.comms.devices.tunnelManager = new DeviceTunnelManager(app)
}
}