mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-10-29 17:18:43 +08:00
fix (plugin): static assets
This commit is contained in:
@ -56,7 +56,7 @@ func PluginStaticHandler(ctx *App, res http.ResponseWriter, req *http.Request) {
|
||||
}
|
||||
b, err = model.GetPluginFile(mux.Vars(req)["name"], path+cfg.FileExt)
|
||||
if err != nil {
|
||||
break
|
||||
continue
|
||||
}
|
||||
head.Set("Content-Type", mtype)
|
||||
if cfg.ContentType != "" {
|
||||
|
||||
Reference in New Issue
Block a user