Skip to content

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

FIX: Use `127.0.0.1` instead of `localhost` for ember CLI

Robin Ward5998e69b9c51
diff --git a/bin/ember-cli b/bin/ember-cli
index e6931115257..a646b639705 100755
--- a/bin/ember-cli
+++ b/bin/ember-cli
@@ -5,7 +5,7 @@ require 'pathname'
RAILS_ROOT = File.expand_path("../../", Pathname.new(__FILE__).realpath)
PORT = ENV["UNICORN_PORT"] ||= "3000"
-HOSTNAME = ENV["DISCOURSE_HOSTNAME"] ||= "localhost"
+HOSTNAME = ENV["DISCOURSE_HOSTNAME"] ||= "127.0.0.1"
yarn_dir = File.join(RAILS_ROOT, "app/assets/javascripts/discourse")
PROXY =