diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/server/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/server/main.go b/cmd/server/main.go index 8f163df..1591102 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -16,7 +16,6 @@ import ( "gorm.io/driver/sqlite" "gorm.io/gorm" - "git.sr.ht/~gabrielgio/img" "git.sr.ht/~gabrielgio/img/pkg/database/localfs" "git.sr.ht/~gabrielgio/img/pkg/database/repository" "git.sr.ht/~gabrielgio/img/pkg/database/sql" @@ -25,6 +24,7 @@ import ( "git.sr.ht/~gabrielgio/img/pkg/view" "git.sr.ht/~gabrielgio/img/pkg/worker" "git.sr.ht/~gabrielgio/img/pkg/worker/scanner" + "git.sr.ht/~gabrielgio/img/static" ) func main() { @@ -72,7 +72,7 @@ func main() { } r := router.New() - r.GET("/static/{filepath:*}", ext.FileServer(img.StaticFS, "static/")) + r.GET("/static/{filepath:*}", ext.FileServer(static.Static, "static/")) // repository var ( |