add discord route
This commit is contained in:
parent
032159149c
commit
e27cda5779
1 changed files with 8 additions and 0 deletions
8
htmgo-site/pages/discord.go
Normal file
8
htmgo-site/pages/discord.go
Normal 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()
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue