change download file name

This commit is contained in:
Mohamed Nouffer
2021-11-16 12:43:27 +05:30
parent 02aa99c364
commit 792f8a7d0f
9 changed files with 13 additions and 13 deletions

View File

@ -117,7 +117,7 @@ function Index() {
function downloadReport(url) {
fetch(url)
.then(async response => {
//console.log(response.headers);
console.log(response.headers);
const filename = response.headers
.get("Content-Disposition")
console.log(filename)