chore: update version to 0.9.1 (#882)

This commit is contained in:
boojack
2022-12-31 15:40:53 +08:00
committed by GitHub
parent 51eac649c5
commit 24b21aa9d7
5 changed files with 40 additions and 30 deletions

View File

@@ -42,6 +42,8 @@ func NewServer(profile *profile.Profile) *Server {
e.Use(middleware.CORS())
e.Use(middleware.Secure())
e.Use(middleware.TimeoutWithConfig(middleware.TimeoutConfig{
Skipper: middleware.DefaultSkipper,
ErrorMessage: "Request timeout",