Merge branch 'revert-b478a87e' into 'develop'

Revert "Merge branch 'non-rfc-status-codes' into 'develop'"

See merge request soapbox-pub/soapbox!48
This commit is contained in:
Alex Gleason 2021-08-05 19:28:18 +00:00
commit 5dddc6166a

View file

@ -16,17 +16,3 @@
Pleroma.Upload.Filter.Dedupe,
Pleroma.Upload.Filter.Exiftool
]
# Non-RFC HTTP status codes
config :plug, :statuses, %{
# Cloudflare
# https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#Cloudflare
520 => "Web Server Returned an Unknown Error",
521 => "Web Server Is Down",
522 => "Connection Timed Out",
523 => "Origin Is Unreachable",
524 => "A Timeout Occurred",
525 => "SSL Handshake Failed",
526 => "Invalid SSL Certificate",
527 => "Railgun Error"
}