mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-05 07:45:54 +02:00
@@ -1,6 +1,6 @@
|
||||
const CONFIG = require('./config');
|
||||
import CONFIG from './config';
|
||||
|
||||
module.exports = () => {
|
||||
export default () => {
|
||||
localStorage.removeItem('me');
|
||||
document.cookie = `i=; domain=.${CONFIG.host}; expires=Thu, 01 Jan 1970 00:00:01 GMT;`;
|
||||
location.href = '/';
|
||||
|
||||
Reference in New Issue
Block a user