From bb6493bd66159d3189ad633c1555b46e5220a113 Mon Sep 17 00:00:00 2001
From: Lucio Zambon <lucio.zambon@elettra.eu>
Date: Thu, 1 Jun 2023 15:53:10 +0200
Subject: [PATCH] aggiornare link ad archivio allarmi e registro elettronico -
 ticket

---
 src/acs.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/acs.cpp b/src/acs.cpp
index e1da46b..c7e6c68 100644
--- a/src/acs.cpp
+++ b/src/acs.cpp
@@ -1790,7 +1790,7 @@ void acs::refresh()
 			linac_strstat = strstat;
 			for (unsigned i=0; i<strstat.length(); i++) {
 				if (strstat[i] != ' ') {
-					strcpy(url, "http://fcsproxy.elettra.eu/docs/pss/register_alarm.php?user_inside=");
+					strcpy(url, "http://fcs-proxy-01.elettra.eu/pss/register_alarm.php?user_inside=");
 					web_read(url, strstat.c_str());
 					break;
 				}
@@ -1807,7 +1807,7 @@ void acs::refresh()
 			for (unsigned i=0; i<strstat.length(); i++) {
 				if (strstat[i] != ' ') {
 					cout << strstat.c_str() << ", len: "<< strlen(strstat.c_str()) << endl;
-					strcpy(url, "http://fcsproxy.elettra.eu/docs/pss/register_alarm.php?user_inside=");
+					strcpy(url, "http://fcs-proxy-01.elettra.eu/pss/register_alarm.php?user_inside=");
 					web_read(url, strstat.c_str());
 					break;
 				}
@@ -2755,7 +2755,7 @@ void acs::open_scrapersinfo_panel()
 
 void acs::open_alarmlist_panel()
 {
-	alarmlist_process->start("firefox 192.168.205.101/docs/fermi/pss.php?startdate=lastday");
+	alarmlist_process->start("/usr/local/firefox/firefox https://fcs-proxy-01.elettra.eu/pss/pss.php?startdate=last%201%20day");
 }
 
 void acs::switch_control_location()
@@ -2773,7 +2773,7 @@ void acs::switch_control_location()
 
 void acs::open_register()
 {
-	register_process->start("/usr/local/firefox/firefox http://fcsproxy.elettra.eu/docs/pss/register.php");
+	register_process->start("/usr/local/firefox/firefox https://fcs-proxy-01.elettra.eu/pss/register.php");
 }
 std::string myexec(const char* cmd) {
     char buffer[128];
-- 
GitLab