This commit is contained in:
6543 2022-11-11 06:31:01 +01:00
parent a80185f82e
commit 2763718e78
No known key found for this signature in database
GPG Key ID: B8BE6D610E61C862
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ func Handler(mainDomainSuffix, rawDomain string,
ctx.RespWriter.Header().Set("Allow", http.MethodGet+", "+http.MethodHead+", "+http.MethodOptions) // duplic 1
if ctx.IsMethod(http.MethodOptions) {
ctx.Response().StatusCode = http.StatusNoContent
ctx.RespWriter.WriteHeader(http.StatusNoContent)
return
}