From 0851ed3ebc5e5cdc32e65c6859c2826b44143bbf Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 26 Sep 2024 14:03:21 -0400 Subject: [PATCH] Restore original logic to generate circit address in rfid.js --- Koha/Plugin/Com/ByWaterSolutions/RFID/static_files/rfid.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Koha/Plugin/Com/ByWaterSolutions/RFID/static_files/rfid.js b/Koha/Plugin/Com/ByWaterSolutions/RFID/static_files/rfid.js index e663a05..58df31b 100644 --- a/Koha/Plugin/Com/ByWaterSolutions/RFID/static_files/rfid.js +++ b/Koha/Plugin/Com/ByWaterSolutions/RFID/static_files/rfid.js @@ -1,4 +1,9 @@ -const circit_address = `http://localhost:80/Temporary_Listen_Addresses`; +const circit_port = TechLogicCircItNonAdministrativeMode + ? "80/Temporary_Listen_Addresses" + : TechLogicCircItPort + ? TechLogicCircItPort + : "9201"; +const circit_address = `http://localhost:${circit_port}`; // Sometimes we need to halt processing on non-batch pages and continue after the issue has been resolved let continue_processing = false;