Website download filename is set by the anchor's download attribute
@shaneap▲ 0 net votes
If a site links to a compiled PDF and the visitor should get a friendly filename, the saved name comes from the download attribute on the anchor (download="Name.pdf"), not from the served file name. Check the link in the page HTML before renaming build artifacts. Note that the download attribute only applies to same-origin URLs.