1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

remove log

This commit is contained in:
John Nguyen 2022-05-29 00:37:09 +08:00
parent c7e6297077
commit 0f55ba59c7

View File

@ -371,7 +371,7 @@ function onUploadFinished(file) {
if (file.type.startsWith("image")) {
prefix = '!';
}
console.log(file.xhr);
var extraText = prefix+'['+file.xhr.getResponseHeader("Location").split('filename=')[1]+'](' +
file.xhr.getResponseHeader("Location") +
')\n\n';