Saturn icon indicating copy to clipboard operation
Saturn copied to clipboard

svg has mimetype text/plain

Open halcwb opened this issue 2 years ago • 0 comments

When running an application that shows some svg images, these won't show up.

I have tried: use_mime_types [".svg", "image/svg+xml"], however, still the mimetype is set at text/plain.

let application = application {
    url ("http://*:" + port.ToString() + "/")
    use_router webApp
    memory_cache
    use_gzip
    use_mime_types [
            ".svg", "image/svg+xml"
            ".png", "image/png"
        ]
    use_static "public" 

image

halcwb avatar Mar 06 '23 11:03 halcwb