Files
timer/htmx.go
2024-04-21 01:24:47 +02:00

10 lines
131 B
Go

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