chore: simplify
This commit is contained in:
parent
d2fd15c010
commit
9eb0ce3e79
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ func NewHTTPd(url string, site site.API, hub *SocketHub, cache *util.Cache) *HTT
|
|||
api.Use(handlers.CompressHandler)
|
||||
api.Use(handlers.CORS(
|
||||
handlers.AllowedHeaders([]string{
|
||||
"Accept", "Accept-Language", "Content-Language", "Content-Type", "Origin",
|
||||
"Content-Type",
|
||||
}),
|
||||
))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue