feat(comicverse): support for local assets files

This commit is contained in:
Guz
2025-03-17 11:20:00 -03:00
parent fa66837cdd
commit 69a291d19e
3 changed files with 30 additions and 4 deletions

View File

@@ -109,8 +109,8 @@ func main() {
}
if *dev {
d := os.DirFS("./static")
opts = append(opts, comicverse.WithStaticFiles(d))
d := os.DirFS("./assets")
opts = append(opts, comicverse.WithAssets(d))
opts = append(opts, comicverse.WithDevelopmentMode())
}