mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-20 22:46:35 +02:00
Probamos haciendo el request con httpGet para ver si ahora anda bien la actualizacion de logs
This commit is contained in:
parent
477c9820ed
commit
905b10f2ea
18
index.php
18
index.php
|
@ -3793,15 +3793,15 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal';
|
|||
function get_checkboxes() { for (var e = document.getElementsByName("file[]"), t = [], n = e.length - 1; n >= 0; n--) (e[n].type = "checkbox") && t.push(e[n]); return t }
|
||||
|
||||
function update_logs() {
|
||||
fetch("http://ao20-test.duckdnsorg:9090/job/re20-server-produccion-upload-logs-to-ftp/build?token=actualizarlogsparavererrores")
|
||||
.catch(function (error) {
|
||||
alert("No se pudo actualizar log de Produccion Error: " + error);
|
||||
});
|
||||
|
||||
fetch("http://ao20-test.duckdnsorg:9090/job/re20-server-test-upload-logs-to-ftp/build?token=actualizarlogsparavererrores")
|
||||
.catch(function (error) {
|
||||
alert("No se pudo actualizar log de Test Error: " + error);
|
||||
});
|
||||
function httpGet(theUrl) {
|
||||
var xmlHttp = new XMLHttpRequest();
|
||||
xmlHttp.open("GET", theUrl, false); // false for synchronous request
|
||||
xmlHttp.send(null);
|
||||
return xmlHttp.responseText;
|
||||
}
|
||||
|
||||
httpGet("http://ao20-test.duckdnsorg:9090/job/re20-server-produccion-upload-logs-to-ftp/build?token=actualizarlogsparavererrores");
|
||||
httpGet("http://ao20-test.duckdnsorg:9090/job/re20-server-test-upload-logs-to-ftp/build?token=actualizarlogsparavererrores");
|
||||
|
||||
alert("Se estan actualizando los logs de produccion y test. Por favor espera unos minutos para que se terminen de subir. Podes ver el proceso desde Jenkins o desde el chat de discord en #dev-logs");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue