diff --git a/web/static.go b/web/static.go index 3c6970689e..ae41c8319c 100644 --- a/web/static.go +++ b/web/static.go @@ -4,7 +4,6 @@ package web import ( - "mime" "net/http" "path" "path/filepath" @@ -31,8 +30,6 @@ func (w *Web) InitStatic() { subpath, _ := utils.GetSubpathFromConfig(w.ConfigService.Config()) - mime.AddExtensionType(".wasm", "application/wasm") - staticHandler := staticFilesHandler(http.StripPrefix(path.Join(subpath, "static"), http.FileServer(http.Dir(staticDir)))) pluginHandler := staticFilesHandler(http.StripPrefix(path.Join(subpath, "static", "plugins"), http.FileServer(http.Dir(*w.ConfigService.Config().PluginSettings.ClientDirectory))))