From 23dfbf1c7e38ed832f0baaeb1a1d338bccfcefe3 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 5 Aug 2021 19:16:11 +0000 Subject: [PATCH] Revert "Merge branch 'non-rfc-status-codes' into 'develop'" This reverts merge request !47 --- config/soapbox.exs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/config/soapbox.exs b/config/soapbox.exs index ad8770bb13..f32db3d01c 100644 --- a/config/soapbox.exs +++ b/config/soapbox.exs @@ -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" -}