mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Better colorthief handling
- Moved colorthief handling to api, making it easier to controll where the requests comes from
This commit is contained in:
@@ -48,12 +48,6 @@ module.exports = function() {
|
||||
}
|
||||
});
|
||||
|
||||
socket.on('color', function(msg) {
|
||||
if(msg.hasOwnProperty("id")) {
|
||||
List.sendColor(false, socket, msg.id);
|
||||
}
|
||||
});
|
||||
|
||||
socket.on("logout", function() {
|
||||
Functions.removeSessionAdminPass(Functions.getSession(socket), coll, function() {})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user