Redirect / to INBOX
This commit is contained in:
parent
2a2a48c7fa
commit
0c21c501ff
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@ import (
|
|||
)
|
||||
|
||||
func registerRoutes(p *koushin.GoPlugin) {
|
||||
p.GET("/", func(ectx echo.Context) error {
|
||||
return ectx.Redirect(http.StatusFound, "/mailbox/INBOX")
|
||||
})
|
||||
|
||||
p.GET("/mailbox/:mbox", handleGetMailbox)
|
||||
p.POST("/mailbox/:mbox", handleGetMailbox)
|
||||
|
||||
|
|
Loading…
Reference in a new issue