1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-01 16:28:33 +09:00
This commit is contained in:
syuilo 2022-12-24 14:52:30 +09:00
parent deaea7ce9f
commit c7f4fd1215

View File

@ -128,7 +128,7 @@ import { getAccountFromId } from '@/scripts/get-account-from-id';
}
// 連携ログインの場合用にCookieを参照する
const i = (document.cookie.match(/igi=(\w+)/) || [null, null])[1];
const i = (document.cookie.match(/igi=(\w+)/) ?? [null, null])[1];
if (i != null && i !== 'null') {
if (_DEV_) {