Skip to content

Commit

Permalink
Leave out Alpine for now
Browse files Browse the repository at this point in the history
  • Loading branch information
theandrew168 committed Sep 8, 2024
1 parent fa47b1f commit 46d16db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/web/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func Handler(
mux.HandleFunc("GET /toast", func(w http.ResponseWriter, r *http.Request) {
cookie := util.NewSessionCookie(util.ToastCookieName, "Toasts are awesome!")
http.SetCookie(w, &cookie)
http.Redirect(w, r, "/register", http.StatusSeeOther)
http.Redirect(w, r, "/", http.StatusSeeOther)
})

// Requests that don't match any of the above handlers get a 404.
Expand Down
2 changes: 1 addition & 1 deletion backend/web/layout/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="stylesheet" href="/css/fonts.css" />
<link rel="stylesheet" href="/css/tailwind.min.css" />
<script src="/js/htmx.min.js" defer></script>
<script src="/js/alpine.min.js" defer></script>
<!-- <script src="/js/alpine.min.js" defer></script> -->
</head>

<body class="bg-gray-100 sans-serif flex flex-col items-stretch min-h-screen">
Expand Down

0 comments on commit 46d16db

Please sign in to comment.