mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-10 20:00:10 +00:00
Update app terminal name to applications
This commit is contained in:
@@ -1370,7 +1370,7 @@
|
||||
return;
|
||||
}
|
||||
response = xhr.responseText;
|
||||
if (xhr.getResponseHeader("content-type") && ~xhr.getResponseHeader("content-type").indexOf("application/json")) {
|
||||
if (xhr.getResponseHeader("content-type") && ~xhr.getResponseHeader("content-type").indexOf("applications/json")) {
|
||||
try {
|
||||
response = JSON.parse(response);
|
||||
} catch (_error) {
|
||||
@@ -1397,7 +1397,7 @@
|
||||
progressObj = (_ref = xhr.upload) != null ? _ref : xhr;
|
||||
progressObj.onprogress = updateProgress;
|
||||
headers = {
|
||||
"Accept": "application/json",
|
||||
"Accept": "applications/json",
|
||||
"Cache-Control": "no-cache",
|
||||
"X-Requested-With": "XMLHttpRequest"
|
||||
};
|
||||
|
Reference in New Issue
Block a user