diff --git a/components/wifi-manager/code.js b/components/wifi-manager/code.js
index 098a02f0..447834b4 100644
--- a/components/wifi-manager/code.js
+++ b/components/wifi-manager/code.js
@@ -188,6 +188,14 @@ $(document).ready(function(){
data: { 'timestamp': Date.now() }
});
console.log('sent config JSON with headers:', autoexec);
+ console.log('now triggering reboot');
+ $.ajax({
+ url: '/reboot.json',
+ dataType: 'json',
+ method: 'POST',
+ cache: false,
+ data: { 'timestamp': Date.now()}
+ });
});
$("#save-autoexec1").on("click", function() {
@@ -265,7 +273,6 @@ $(document).ready(function(){
});
var [ver, idf, cfg, branch] = release.name.split('#');
var body = release.body.replace(/\\n/ig, "
").replace(/\'/ig, "\"");
- console.log(body);
$("#releaseTable").append(
"