Skip to content

A platform for community discussion. Free, open, simple.

DEV: Ensure redirects are passed through to the client by ember-cli (#15170)

David Taylor55cbc70f3f54
diff --git a/app/assets/javascripts/discourse/lib/bootstrap-json/index.js b/app/assets/javascripts/discourse/lib/bootstrap-json/index.js
index bf3b1cc7c47..07071809dd3 100644
--- a/app/assets/javascripts/discourse/lib/bootstrap-json/index.js
+++ b/app/assets/javascripts/discourse/lib/bootstrap-json/index.js
@@ -240,6 +240,7 @@ async function handleRequest(proxy, baseURL, req, res) {
method: req.method,
body: /GET|HEAD/.test(req.method) ? null : req.body,
headers: req.headers,
+ redirect: "manual",
});
response.headers.forEach((value, header) => {