summaryrefslogtreecommitdiffstats
path: root/webapp/client/web_client.jsx
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2017-01-31 23:29:21 +0900
committerHarrison Healey <harrisonmhealey@gmail.com>2017-01-31 09:29:21 -0500
commit7e9cf13aa356f991f48ba0a943bdab9b4d3c9233 (patch)
tree11e64fd6b7755ce85e7d2ebcc8adeb8b3f8f331d /webapp/client/web_client.jsx
parent67739cb516309e06a7cb08cc5807140ac9af9b13 (diff)
downloadchat-7e9cf13aa356f991f48ba0a943bdab9b4d3c9233.tar.gz
chat-7e9cf13aa356f991f48ba0a943bdab9b4d3c9233.tar.bz2
chat-7e9cf13aa356f991f48ba0a943bdab9b4d3c9233.zip
Use Client APIs to resolve URLs (#5148)
Diffstat (limited to 'webapp/client/web_client.jsx')
-rw-r--r--webapp/client/web_client.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/client/web_client.jsx b/webapp/client/web_client.jsx
index 99f30da37..f5d7f6c80 100644
--- a/webapp/client/web_client.jsx
+++ b/webapp/client/web_client.jsx
@@ -50,7 +50,7 @@ class WebClientClass extends Client {
return;
}
- if (err.status === HTTP_UNAUTHORIZED && res.req.url !== '/api/v3/users/login') {
+ if (err.status === HTTP_UNAUTHORIZED && res.req.url !== this.getUsersRoute() + '/login') {
GlobalActions.emitUserLoggedOutEvent('/login');
}