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