From 81706b402dafd6ce0727ed6d65105092f76b118a Mon Sep 17 00:00:00 2001
From: Harrison Healey <harrisonmhealey@gmail.com>
Date: Fri, 21 Apr 2017 12:15:40 -0400
Subject: PLT-6368 Changed client to always use window.location.origin over
 SiteURL (#6193)

---
 webapp/utils/url.jsx | 4 ----
 1 file changed, 4 deletions(-)

(limited to 'webapp/utils/url.jsx')

diff --git a/webapp/utils/url.jsx b/webapp/utils/url.jsx
index 14ea055d1..060d8256a 100644
--- a/webapp/utils/url.jsx
+++ b/webapp/utils/url.jsx
@@ -18,10 +18,6 @@ export function getShortenedURL(url = '', getLength = 27) {
 }
 
 export function getSiteURL() {
-    if (global.mm_config.SiteURL) {
-        return global.mm_config.SiteURL;
-    }
-
     if (window.location.origin) {
         return window.location.origin;
     }
-- 
cgit v1.2.3-1-g7c22

