summaryrefslogtreecommitdiff
path: root/htmx.go
diff options
context:
space:
mode:
Diffstat (limited to 'htmx.go')
-rw-r--r--htmx.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/htmx.go b/htmx.go
deleted file mode 100644
index 9605269..0000000
--- a/htmx.go
+++ /dev/null
@@ -1,9 +0,0 @@
-package main
-
-import (
- "net/http"
-)
-
-func HtmxRedirect(w http.ResponseWriter, url string) {
- w.Header().Add("HX-Redirect", "/")
-}