add info field to templates to help users connect their devices

This commit is contained in:
sparks-alec
2022-02-14 03:39:05 -05:00
parent 1701e16dc0
commit e17e9d3d50
+7
View File
@@ -34,6 +34,13 @@ module.exports.init = function (callback) {
)
);
p.info = _.template(
fs.readFileSync(
`${__dirname}/../plugins/${plugin}/info.html`,
'utf8'
)
);
if (p.heartbeatTimeout == undefined || p.heartbeatTimeout < 50) {
if(p.heartbeatInterval){