mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 00:15:11 +01:00
fix (plugin): static assets
This commit is contained in:
parent
242986453c
commit
27c525ef52
1 changed files with 1 additions and 1 deletions
|
|
@ -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 != "" {
|
||||
|
|
|
|||
Loading…
Reference in a new issue