mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-22 21:08:13 -05:00
removed debug lines
This commit is contained in:
parent
a8f4699816
commit
1b1807c79a
@ -173,9 +173,6 @@ function DownloadFile(verb, path, filename) {
|
|||||||
},
|
},
|
||||||
|
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
console.log(data)
|
|
||||||
console.log(textStatus)
|
|
||||||
console.log(response)
|
|
||||||
var a = document.createElement('a');
|
var a = document.createElement('a');
|
||||||
var url = window.URL.createObjectURL(data);
|
var url = window.URL.createObjectURL(data);
|
||||||
a.href = url;
|
a.href = url;
|
||||||
@ -693,7 +690,6 @@ module.exports = {
|
|||||||
* @returns {Promise}
|
* @returns {Promise}
|
||||||
*/
|
*/
|
||||||
download: function (id) {
|
download: function (id) {
|
||||||
console.log("downloading")
|
|
||||||
return DownloadFile('get', "nginx/certificates/" + id + "/download", "certificate.zip")
|
return DownloadFile('get', "nginx/certificates/" + id + "/download", "certificate.zip")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user