sharkey/src/web/app/common/scripts/signout.ls
2016-12-29 07:49:51 +09:00

5 lines
159 B
Plaintext

module.exports = ->
local-storage.remove-item \me
document.cookie = "i=; domain=.#{CONFIG.host}; expires=Thu, 01 Jan 1970 00:00:01 GMT;"
location.href = \/