Middlewares
CSRF
Add in the api.go of the project program
To separate single page front-end loading XSRF_TOKEN need to be added in Index.Ping
For further security, the front and back-end domain names need to be of the same origin, and the cookie SameSite is set to Strict
Error Chain
Set up global error chain in Hertz middleware
Last updated
Was this helpful?