Browse Source

fix timeout on updating

CauseFX 4 years ago
parent
commit
6d4abdfa51
1 changed files with 2 additions and 2 deletions
  1. 2 2
      js/functions.js

+ 2 - 2
js/functions.js

@@ -4101,8 +4101,8 @@ function organizrAPI2(type,path,data=null,asyncValue=true){
 	$.xhrPool.abortAll(path);
 	$.xhrPool.abortAll(path);
 	var timeout = 10000;
 	var timeout = 10000;
 	switch(path){
 	switch(path){
-		case 'api/v2/windows/update':
-		case 'api/v2/docker/update':
+		case 'api/v2/update/windows':
+		case 'api/v2/update/docker':
 			timeout = 240000;
 			timeout = 240000;
 			break;
 			break;
 		default:
 		default: