summaryrefslogtreecommitdiff
path: root/htmx.go
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-21 22:52:21 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-21 22:52:21 +0200
commitbaad75737135eced6f33fecc1c4104f70719c0ce (patch)
treeb8b6a8aa13252168c08a41537458747893ee12d7 /htmx.go
parent6e3c40ccb5597a93c3e9d9b4766005c6de424f85 (diff)
Finish the big cleanup
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", "/")
-}