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

4 lines
159 B
Text

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