mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Changes to Default Performer Images (for Accessibility) (#1489)
* Changes to support custom URL paths * Refactor image resolver code * Initialise box files at startup * Update packr Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
3
vendor/github.com/gobuffalo/packr/v2/helpers.go
generated
vendored
3
vendor/github.com/gobuffalo/packr/v2/helpers.go
generated
vendored
@@ -6,7 +6,6 @@ import (
|
||||
"runtime"
|
||||
"strings"
|
||||
|
||||
"github.com/gobuffalo/envy"
|
||||
"github.com/gobuffalo/packr/v2/plog"
|
||||
)
|
||||
|
||||
@@ -31,7 +30,7 @@ func resolutionDirTestFilename(filename, og string) (string, bool) {
|
||||
return ng, true
|
||||
}
|
||||
|
||||
ng = filepath.Join(envy.GoPath(), "src", ng)
|
||||
ng = filepath.Join(os.Getenv("GOPATH"), "src", ng)
|
||||
if resolutionDirExists(ng, og) {
|
||||
return ng, true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user