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