chore: fix jwt checks

This commit is contained in:
Steven
2023-11-05 23:39:30 +08:00
parent 39a0e69b04
commit c24181b2be
3 changed files with 3 additions and 5 deletions

View File

@@ -61,8 +61,6 @@ func NewServer(ctx context.Context, profile *profile.Profile, store *store.Store
`"status":${status},"error":"${error}"}` + "\n",
}))
e.Use(middleware.Gzip())
e.Use(middleware.CORSWithConfig(middleware.CORSConfig{
Skipper: grpcRequestSkipper,
AllowOrigins: []string{"*"},