diff options
author | Elias Nahum <nahumhbl@gmail.com> | 2016-08-09 17:05:59 -0500 |
---|---|---|
committer | Elias Nahum <nahumhbl@gmail.com> | 2016-08-09 17:05:59 -0500 |
commit | 805659239098a0b382a2a8bad704c2e91ab38ed6 (patch) | |
tree | e2c42b89d7ffc830bd9270cc65780fe470ccb4f4 /webapp/utils | |
parent | 7be82c2b279390d3659fbe74c7d3ccabc48a6dd8 (diff) | |
parent | ac2f75ac8fd4e2d7ae1de6703a156b9636d4b8f0 (diff) | |
download | chat-805659239098a0b382a2a8bad704c2e91ab38ed6.tar.gz chat-805659239098a0b382a2a8bad704c2e91ab38ed6.tar.bz2 chat-805659239098a0b382a2a8bad704c2e91ab38ed6.zip |
Merge branch 'release-3.3' RC3
Diffstat (limited to 'webapp/utils')
-rw-r--r-- | webapp/utils/utils.jsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx index e3db6d827..9731d3ce2 100644 --- a/webapp/utils/utils.jsx +++ b/webapp/utils/utils.jsx @@ -1338,3 +1338,7 @@ export function isValidPassword(password) { return errorMsg; } + +export function getSiteURL() { + return global.mm_config.SiteURL || window.location.origin; +}
\ No newline at end of file |