summaryrefslogtreecommitdiffstats
path: root/modules/svg/svg.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/svg/svg.go')
-rw-r--r--modules/svg/svg.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/svg/svg.go b/modules/svg/svg.go
index 0e2f6a0034..fc96ea8e6a 100644
--- a/modules/svg/svg.go
+++ b/modules/svg/svg.go
@@ -27,7 +27,7 @@ const defaultSize = 16
// Init discovers SVGs and populates the `SVGs` variable
func Init() error {
- files, err := public.AssetFS().ListFiles("img/svg")
+ files, err := public.AssetFS().ListFiles("assets/img/svg")
if err != nil {
return err
}
@@ -38,7 +38,7 @@ func Init() error {
if path.Ext(file) != ".svg" {
continue
}
- bs, err := public.AssetFS().ReadFile("img/svg", file)
+ bs, err := public.AssetFS().ReadFile("assets/img/svg", file)
if err != nil {
log.Error("Failed to read SVG file %s: %v", file, err)
} else {