maint: changes

This commit is contained in:
vxclutch
2026-06-02 07:52:52 -04:00
parent 9ced6600e3
commit ec19585e9b
12 changed files with 147 additions and 61 deletions

View File

@@ -13,7 +13,6 @@ type ShareData struct {
}
func (h *ShareData) Handler(w http.ResponseWriter, r *http.Request) {
// Although `Must` can fail since `Templates` is embeded these files will always exist.
tmpl := template.Must(template.ParseFS(lash.Templates, "templates/share.html"))
if err := tmpl.ExecuteTemplate(w, "share.html", h); err != nil {