O
O
overdose2122019-05-22 11:26:28
safari
overdose212, 2019-05-22 11:26:28

The dmg file is loading as dmg.html, what should I do?

I have a website that I'm working on. This site has a file that you can download. The dmg file is downloaded as dmg.html. This problem is only in safari. The tag containing the link to the file looks something like this:
<a href="filename.dmg" download>скачать</a>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Lykasov, 2019-05-22
@lykasov-aleksandr

Looking into the crystal ball, I see that there is a problem with the web server response headers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question