wip
This commit is contained in:
parent
2c2385ac59
commit
d94f2c91fb
11 changed files with 160 additions and 30 deletions
|
@ -8,9 +8,6 @@ const token = document.cookie
|
|||
.find(row => row.startsWith('token'))
|
||||
?.split('=')[1];
|
||||
|
||||
console.log(document.cookie);
|
||||
console.log(token);
|
||||
|
||||
if (token) {
|
||||
localStorage['token'] = token;
|
||||
// 今の所はcookieをトークン以外に使用しないため全消去する
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue