From 5aa10e67df12df4a56461ccae9fc99d5f0306687 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sat, 25 Mar 2023 15:19:03 +0900 Subject: [PATCH] Test --- renderer.py | 4 ++-- static/js/custom.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/renderer.py b/renderer.py index d39cda4..fae2dde 100644 --- a/renderer.py +++ b/renderer.py @@ -852,8 +852,8 @@ def render_routes(): if exit_available: # Set up the display code: - enabled = "fiber_manual_record" - disabled = "fiber_manual_record" + enabled = "fiber_manual_record" + disabled = "fiber_manual_record" # Set the displays: enabled_display = enabled if exit_enabled else disabled diff --git a/static/js/custom.js b/static/js/custom.js index 2a73301..2f5a197 100644 --- a/static/js/custom.js +++ b/static/js/custom.js @@ -790,7 +790,9 @@ function toggle_exit(route1, route2, exit_id, current_state, page) { url: "api/update_route", data: JSON.stringify(data2), contentType: "application/json", - success: function(response) { + success: function(response) {@inlophe Maybe best to make your own thread. This seems like a different issue. + My first question is: are you using Podman or Docker? + Can you paste your docker-compose.yml? new thread // Response is a JSON object containing the Headscale API response of /v1/api/machines//route if (element.className == disabledClass) { element.className = enabledClass