smart-home-engine 1.1.3 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/web/assets/{index-S8U43ruI.js → index-BcELVSd4.js} +40 -40
- package/dist/web/assets/{index-DKIgEFlE.css → index-iTrR9H4f.css} +1 -1
- package/dist/web/assets/{tsMode-DR7Bz8RW.js → tsMode-B3Xbg24N.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/src/web/broker-api.js +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as O}from"./monaco-langs-BW2J83t5.js";import{t as I}from"./index-
|
|
1
|
+
import{m as O}from"./monaco-langs-BW2J83t5.js";import{t as I}from"./index-BcELVSd4.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
package/dist/web/index.html
CHANGED
|
@@ -172,10 +172,10 @@
|
|
|
172
172
|
}
|
|
173
173
|
})();
|
|
174
174
|
</script>
|
|
175
|
-
<script type="module" crossorigin src="/assets/index-
|
|
175
|
+
<script type="module" crossorigin src="/assets/index-BcELVSd4.js"></script>
|
|
176
176
|
<link rel="modulepreload" crossorigin href="/assets/monaco-langs-BW2J83t5.js">
|
|
177
177
|
<link rel="stylesheet" crossorigin href="/assets/monaco-langs-DyX1CsEw.css">
|
|
178
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
178
|
+
<link rel="stylesheet" crossorigin href="/assets/index-iTrR9H4f.css">
|
|
179
179
|
</head>
|
|
180
180
|
<body>
|
|
181
181
|
<div id="app"></div>
|
package/package.json
CHANGED
package/src/web/broker-api.js
CHANGED
|
@@ -210,6 +210,7 @@ router.post('/restart', async (req, res) => {
|
|
|
210
210
|
try {
|
|
211
211
|
const bc = getBrokerConfig(req);
|
|
212
212
|
if (bc.ssh && bc.ssh.host) {
|
|
213
|
+
const cmd = bc.restartCmd || 'sudo systemctl restart mosquitto';
|
|
213
214
|
const result = await sshDeploy.runCommand(bc.ssh, cmd);
|
|
214
215
|
return res.json({ ok: true, ...result });
|
|
215
216
|
}
|