add discord route

This commit is contained in:
maddalax 2024-10-31 13:40:43 -05:00
parent 032159149c
commit e27cda5779

View file

@ -0,0 +1,8 @@
package pages
import "github.com/maddalax/htmgo/framework/h"
func DiscordPage(ctx *h.RequestContext) *h.Page {
ctx.Redirect("https://discord.com/invite/nwQY4h6DtJ", 302)
return h.EmptyPage()
}