change download file name
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user