Start of big cleanup

This commit is contained in:
2024-04-21 01:24:47 +02:00
parent e7800492c3
commit 6e3c40ccb5
6 changed files with 172 additions and 145 deletions

9
htmx.go Normal file
View File

@ -0,0 +1,9 @@
package main
import (
"net/http"
)
func HtmxRedirect(w http.ResponseWriter, url string) {
w.Header().Add("HX-Redirect", "/")
}