2017-11-22 20:43:00 +00:00
|
|
|
declare const _HOST_: string;
|
2017-02-21 19:19:53 +00:00
|
|
|
|
2017-03-18 11:05:11 +00:00
|
|
|
export default () => {
|
2017-02-18 04:13:43 +00:00
|
|
|
localStorage.removeItem('me');
|
2017-11-22 20:43:00 +00:00
|
|
|
document.cookie = `i=; domain=.${_HOST_}; expires=Thu, 01 Jan 1970 00:00:01 GMT;`;
|
2017-02-18 04:13:43 +00:00
|
|
|
location.href = '/';
|
|
|
|
};
|