chore: simplify

This commit is contained in:
andig 2022-01-18 16:43:53 +01:00
parent d2fd15c010
commit 9eb0ce3e79

View file

@ -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",
}),
))