diff options
Diffstat (limited to 'resources.go')
-rw-r--r-- | resources.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources.go b/resources.go index a65e8b7..6c3cece 100644 --- a/resources.go +++ b/resources.go @@ -44,7 +44,8 @@ func load_templates() (err error) { var static_handler http.Handler func init() { - if static_fs, err := fs.Sub(resources_fs, "static"); err != nil { + static_fs, err := fs.Sub(resources_fs, "static") + if err != nil { panic(err) } static_handler = http.StripPrefix("/:/static/", http.FileServer(http.FS(static_fs))) |