なんかもうめっちゃ変えた
This commit is contained in:
parent
f8dddc81e2
commit
bc9a8283c6
77 changed files with 170 additions and 165 deletions
7
src/web/app/common/scripts/signout.ts
Normal file
7
src/web/app/common/scripts/signout.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import CONFIG from './config';
|
||||
|
||||
export default () => {
|
||||
localStorage.removeItem('me');
|
||||
document.cookie = `i=; domain=.${CONFIG.host}; expires=Thu, 01 Jan 1970 00:00:01 GMT;`;
|
||||
location.href = '/';
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue