mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Removed cors-anywhere dependency
This commit is contained in:
@@ -38,6 +38,12 @@ module.exports = function() {
|
||||
}
|
||||
});
|
||||
|
||||
socket.on('color', function(msg) {
|
||||
if(msg.hasOwnProperty("id")) {
|
||||
List.sendColor(false, socket, msg.id);
|
||||
}
|
||||
});
|
||||
|
||||
socket.on('chromecast', function(msg) {
|
||||
try {
|
||||
if(typeof(msg) == "object" && msg.hasOwnProperty("guid") && msg.hasOwnProperty("socket_id") && msg.hasOwnProperty("channel")) {
|
||||
|
||||
Reference in New Issue
Block a user