-2

I recently setup a HTTP server in go and created a download directory. Added some basic HTML code for displaying files in the directory, with links for downloading.

Unfortunately, when I click on the download links the files are not served up for downloading, they are just displayed.

Is there something I am missing here?

Thanks Roger

  • this doesn't seem related to Go at all. If you wish to clarify, please add the relevant code into your question. See [ask] – blackgreen May 21 '22 at 21:17

0 Answers0