1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-01-23 11:14:48 +02:00

Fix typo in an error message

This commit is contained in:
DarthSim 2023-01-23 18:50:13 +03:00
parent dbb32e93d3
commit d5d3e32df0

View File

@ -142,7 +142,7 @@ func BuildImageRequest(imageURL string, header http.Header, jar *cookiejar.Jar)
if _, ok := enabledSchemes[req.URL.Scheme]; !ok {
return nil, ierrors.New(
404,
fmt.Sprintf("Unknown sheme: %s", req.URL.Scheme),
fmt.Sprintf("Unknown scheme: %s", req.URL.Scheme),
msgSourceImageIsUnreachable,
)
}