Fix bug, Support thirdparty streaming access
This commit is contained in:
parent
fa591e5c9b
commit
2ded8ba858
4 changed files with 31 additions and 18 deletions
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue