mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-08 10:45:04 +02:00
Typo
This commit is contained in:
parent
afe1557057
commit
0346b6b45e
@ -96,7 +96,7 @@ func shutdownServer(s *fasthttp.Server) {
|
||||
func writeCORS(rctx *fasthttp.RequestCtx) {
|
||||
if len(conf.AllowOrigin) > 0 {
|
||||
rctx.Response.Header.Set("Access-Control-Allow-Origin", conf.AllowOrigin)
|
||||
rctx.Response.Header.Set("Access-Control-Allow-Methods", "GET, OPTIONs")
|
||||
rctx.Response.Header.Set("Access-Control-Allow-Methods", "GET, OPTIONS")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user