change download file name

This commit is contained in:
Mohamed Nouffer
2021-11-16 12:37:36 +05:30
parent 23303d48ef
commit 02aa99c364
7 changed files with 13 additions and 13 deletions

View File

@ -119,7 +119,7 @@ function Index() {
.then(async response => {
//console.log(response.headers);
const filename = response.headers
.get("content-disposition")
.get("Content-Disposition")
console.log(filename)
// .split('"')[1];
const text = await response.text();