diff --git a/dist/server.js b/dist/server.js index e0446d7..9498915 100644 --- a/dist/server.js +++ b/dist/server.js @@ -123,7 +123,10 @@ function render_sensors(sensordata) { } function navigate(path, link) { - console.log(link); + if (link !== undefined) { + window.location.href = "./" + link + return; + } localstate.page = path; applyState(); } @@ -135,7 +138,7 @@ function render_sidebar(data) {
@@ -190,10 +193,12 @@ function render_load_recipe(data) { {{#selected_recipe}} {{description}} -Controllers: +Controllers: