remove duplicated CORS middleware
This commit is contained in:
parent
2a038f8746
commit
cd3cb17b2c
1 changed files with 1 additions and 1 deletions
|
@ -624,6 +624,6 @@ func intercept(i IssuerFromRequest, interceptors ...HttpInterceptor) func(handle
|
||||||
for i := len(interceptors) - 1; i >= 0; i-- {
|
for i := len(interceptors) - 1; i >= 0; i-- {
|
||||||
handler = interceptors[i](handler)
|
handler = interceptors[i](handler)
|
||||||
}
|
}
|
||||||
return cors.New(defaultCORSOptions).Handler(issuerInterceptor.Handler(handler))
|
return issuerInterceptor.Handler(handler)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue