10 lines
182 B
JavaScript
10 lines
182 B
JavaScript
|
"use strict";
|
||
|
|
||
|
const socket = require("../socket");
|
||
|
const storage = require("../localStorage");
|
||
|
|
||
|
socket.on("sign-out", function() {
|
||
|
storage.remove("token");
|
||
|
location.reload();
|
||
|
});
|