Prechádzať zdrojové kódy

Changed user agent to arozos-http-client/1.1

Toby Chui 2 rokov pred
rodič
commit
d7b9438710

+ 1 - 0
mod/agi/agi.http.go

@@ -83,6 +83,7 @@ func (g *Gateway) injectHTTPFunctions(vm *otto.Otto, u *user.User, scriptFsh *fi
 		}
 
 		req.Header.Set("Content-Type", "application/json")
+		req.Header.Set("User-Agent", "arozos-http-client/1.1")
 
 		//Send the request
 		client := &http.Client{}

+ 1 - 1
web/SystemAO/file_system/file_explorer.html

@@ -5041,7 +5041,7 @@
                                 $(this).addClass("ended");
 
                                 //Update 15-11-2020
-                                //Remove this taskbar after 3 secounds to prevent lags during > 2000 uploads
+                                //Remove this taskbar after 3 seconds to prevent lags during > 2000 uploads
                                 $.when($(this).delay(1000).fadeOut("fast")).then(function(){
                                     $(this).remove();
                                     updateUploadFileCount();