summaryrefslogtreecommitdiff
path: root/src/web/app/boot.js
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-01-06 01:45:02 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-01-06 01:45:02 +0900
commit2ded8ba8580f49741e0d5e436f65561c8dd9ef18 (patch)
treee2b13194a3d33b1481ee1004865f51f699b5f8ac /src/web/app/boot.js
parentアクセストークンは i に統一 (diff)
downloadmisskey-2ded8ba8580f49741e0d5e436f65561c8dd9ef18.tar.gz
misskey-2ded8ba8580f49741e0d5e436f65561c8dd9ef18.tar.bz2
misskey-2ded8ba8580f49741e0d5e436f65561c8dd9ef18.zip
Fix bug, Support thirdparty streaming access
Diffstat (limited to 'src/web/app/boot.js')
-rw-r--r--src/web/app/boot.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/boot.js b/src/web/app/boot.js
index 5067600c6c..e8e504c2bb 100644
--- a/src/web/app/boot.js
+++ b/src/web/app/boot.js
@@ -39,7 +39,7 @@ try {
checkForUpdate();
// Get token from cookie
-const i = (document.cookie.match(/i=(\w+)/) || [null, null])[1];
+const i = (document.cookie.match(/i=(!\w+)/) || [null, null])[1];
// ユーザーをフェッチしてコールバックする
module.exports = callback => {