mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-16 02:21:01 -07:00
ac225d4ea6
Closes #12, #227 and #58
7 lines
201 B
JavaScript
7 lines
201 B
JavaScript
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 = '/';
|
|
};
|