1 Commits
Author SHA1 Message Date
fred bbe362c65d fix 2026-07-12 17:07:57 +02:00
+1 -1
View File
@@ -474,7 +474,7 @@ void trt_connexion()
keepAlive = FALSE;
//
//strcpy(data, "HTTP/1.1 200 OK\r\nConnection: keep-alive\r\nContent-Type:text/html\r\nContent-Length:35\r\n\r\n<html><h2>Hello World !</h2></html>");
if((fp = popen("create_ttyd_session.sh", "r")) == NULL)
if((fp = popen("/root/create_ttyd_session.sh", "r")) == NULL)
strcpy(data, "HTTP/1.1 200 OK\r\nConnection: keep-alive\r\nContent-Type:text/html\r\nContent-Length:97\r\n\r\n<html><h2>Erreur, console de test non disponible, veuillez contacter l'administrateur</h2></html>");
else
{