diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2017-04-21 12:15:40 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-04-21 12:15:40 -0400 |
commit | 81706b402dafd6ce0727ed6d65105092f76b118a (patch) | |
tree | f5669700261ce9b814849967f275f1deb8de373d /webapp | |
parent | b57b5abce814cfcdf3889d4e267492e809245593 (diff) | |
download | chat-81706b402dafd6ce0727ed6d65105092f76b118a.tar.gz chat-81706b402dafd6ce0727ed6d65105092f76b118a.tar.bz2 chat-81706b402dafd6ce0727ed6d65105092f76b118a.zip |
PLT-6368 Changed client to always use window.location.origin over SiteURL (#6193)
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/utils/url.jsx | 4 |
1 files changed, 0 insertions, 4 deletions
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; } |