feat: started to make things work

This commit is contained in:
didier committed 2026-06-07 12:30:08 -04:00
1 parent 9e21732d00
commit de6480ba4e
8 files changed
+157 -106

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
//go:build !dev
package main
import (
"embed"
"io/fs"
"net/http"
)
//go:embed public/*
var publicFiles embed.FS
func publicHandler() http.Handler {
sub, _ := fs.Sub(publicFiles, "public")
return http.FileServer(http.FS(sub))
}