add store to localStorage

This commit is contained in:
2024-06-12 14:47:07 +07:00
parent 9f822c5514
commit 246dd34542
5 changed files with 348 additions and 11 deletions

View File

@@ -32,9 +32,3 @@ func View(c echo.Context, cmp templ.Component) error {
return cmp.Render(c.Request().Context(), c.Response().Writer)
}
func Redirect(c echo.Context, url string) error {
c.Response().Header().Set("HX-Redirect", url)
return c.String(http.StatusOK, url)
}