This repository has been archived on 2026-07-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
GoEdgeAdmin/internal/web/actions/default/csrf/init.go
T

13 lines
193 B
Go

package csrf
import "github.com/iwind/TeaGo"
func init() {
TeaGo.BeforeStart(func(server *TeaGo.Server) {
server.
Prefix("/csrf").
Get("/token", new(TokenAction)).
EndAll()
})
}