feat: setting up routes for spaces landing page

This commit is contained in:
juancwu 2026-04-07 12:38:07 +00:00
commit 7c375e1002
8 changed files with 94 additions and 12 deletions

View file

@ -0,0 +1,13 @@
package handler
import "net/http"
type redirectHandler struct{}
func NewRedirectHandler() *redirectHandler {
return &redirectHandler{}
}
func (h *redirectHandler) Spaces(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, "/app/spaces", http.StatusMovedPermanently)
}