Skip to content

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

DEV: Stick to ipv4 when proxying testem requests (#18064)

Jarek Radosze33d694361a3
diff --git a/app/assets/javascripts/discourse/testem.js b/app/assets/javascripts/discourse/testem.js
index d49180f5c48..a0c880fff71 100644
--- a/app/assets/javascripts/discourse/testem.js
+++ b/app/assets/javascripts/discourse/testem.js
@@ -68,7 +68,7 @@ module.exports = {
reporter: Reporter,
};
-const target = `http://localhost:${process.env.UNICORN_PORT || "3000"}`;
+const target = `http://127.0.0.1:${process.env.UNICORN_PORT || "3000"}`;
if (process.argv.includes("-t")) {
// Running testem without ember cli. Probably for theme-qunit