mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 22:22:51 +09:00
✌️
This commit is contained in:
parent
6836662bff
commit
d168ac6106
@ -12,7 +12,7 @@ module.exports = (me) ~>
|
|||||||
Cropper: require \cropperjs
|
Cropper: require \cropperjs
|
||||||
|
|
||||||
riot.mixin \signout do
|
riot.mixin \signout do
|
||||||
signout: require './scripts/signout.ls'
|
signout: require './scripts/signout.js'
|
||||||
|
|
||||||
riot.mixin \messaging-stream do
|
riot.mixin \messaging-stream do
|
||||||
MessagingStreamConnection: require './scripts/messaging-stream.ls'
|
MessagingStreamConnection: require './scripts/messaging-stream.ls'
|
||||||
|
5
src/web/app/common/scripts/signout.js
Normal file
5
src/web/app/common/scripts/signout.js
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
module.exports = () => {
|
||||||
|
localStorage.removeItem('me');
|
||||||
|
document.cookie = `i=; domain=.${CONFIG.host}; expires=Thu, 01 Jan 1970 00:00:01 GMT;`;
|
||||||
|
location.href = '/';
|
||||||
|
};
|
@ -1,4 +0,0 @@
|
|||||||
module.exports = ->
|
|
||||||
local-storage.remove-item \me
|
|
||||||
document.cookie = "i=; domain=.#{CONFIG.host}; expires=Thu, 01 Jan 1970 00:00:01 GMT;"
|
|
||||||
location.href = \/
|
|
Loading…
Reference in New Issue
Block a user