diff --git a/src/client/client.coffee b/src/client/client.coffee index 5876eaf85..86b6c4c75 100644 --- a/src/client/client.coffee +++ b/src/client/client.coffee @@ -42,11 +42,11 @@ switch global.hostName when 'staging.crafting-guide.com' global.env = 'staging' logger.level = Logger.VERBOSE - apiBaseUrl = 'https://api-staging.crafting-guide.com' + apiBaseUrl = 'http://api-staging.crafting-guide.com' when 'crafting-guide.com' global.env = 'production' logger.level = Logger.INFO - apiBaseUrl = 'https://api.crafting-guide.com' + apiBaseUrl = 'http://api.crafting-guide.com' else throw new Error "cannot determine the environment of: #{window.location.hostname}"