We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d513e9 commit 40292b1Copy full SHA for 40292b1
src/lib/custom_resources.go
@@ -29,7 +29,7 @@ func GetTexturePath(texturePath string, textureString string) string {
29
}
30
31
if os.Getenv("DEV") != "true" {
32
- return formattedPath
+ return fmt.Sprintf("/assets/%s", formattedPath)
33
34
35
return "http://localhost:8080/assets/" + formattedPath
0 commit comments