mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
Fix 404 not returning immediately in asset resolver (#4597)
This commit is contained in:
parent
b4a6cc43d1
commit
276bc5a8cb
1 changed files with 1 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ func (rs pluginRoutes) Assets(w http.ResponseWriter, r *http.Request) {
|
|||
r.URL.Path, dir = p.UI.Assets.GetFilesystemLocation(r.URL.Path)
|
||||
if dir == "" {
|
||||
http.NotFound(w, r)
|
||||
return
|
||||
}
|
||||
|
||||
dir = filepath.Join(pluginDir, filepath.FromSlash(dir))
|
||||
|
|
|
|||
Loading…
Reference in a new issue