Im trying to serve static .svgz files (compressed SVG) with the below script:
http.ListenAndServe(":9090", http.FileServer(http.Dir("/srv/www/htdocs/")))
im getting the below error:
This page contains the following errors:
error on line 1 at column 1: Encoding error
Below is a rendering of the page up to the first error.
if i try to fetch the same file through apache, the file is displaying properly.
is there a way to fix that?