parent
1809800980
commit
3f8ebac466
46 changed files with 244 additions and 225 deletions
|
@ -1,7 +1,7 @@
|
|||
import CONFIG from './config';
|
||||
declare const _HOST_: string;
|
||||
|
||||
export default () => {
|
||||
localStorage.removeItem('me');
|
||||
document.cookie = `i=; domain=.${CONFIG.host}; expires=Thu, 01 Jan 1970 00:00:01 GMT;`;
|
||||
document.cookie = `i=; domain=.${_HOST_}; expires=Thu, 01 Jan 1970 00:00:01 GMT;`;
|
||||
location.href = '/';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue