change download file name
This commit is contained in:
@ -115,7 +115,7 @@ function Index() {
|
||||
}
|
||||
|
||||
function downloadReport(url) {
|
||||
fetch("url of api")
|
||||
fetch(url)
|
||||
.then(async response => {
|
||||
const filename = response.headers
|
||||
.get("content-disposition")
|
||||
|
||||
Reference in New Issue
Block a user