aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-01-17 15:52:38 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-01-17 15:54:08 +0000
commitf41b1719cc8f807912696a6728b20c0a2252e5a9 (patch)
tree5a8f8c3a22b6d3a92451dfebe075027ab89b27fc /perllib/FixMyStreet/App.pm
parent38e8516818513f082bfac6d4631ed2b8ec300329 (diff)
In Edge 14, do all HTTP redirects in HTML instead.
This is to work around https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8572187/
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r--perllib/FixMyStreet/App.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index 7809b5f12..7c5ef488b 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -4,6 +4,7 @@ use namespace::autoclean;
use Catalyst::Runtime 5.80;
use FixMyStreet;
+use FixMyStreet::App::Response;
use FixMyStreet::Cobrand;
use Memcached;
use FixMyStreet::Map;
@@ -82,6 +83,8 @@ __PACKAGE__->config(
},
);
+__PACKAGE__->response_class('FixMyStreet::App::Response');
+
# Start the application
__PACKAGE__->setup();