acable test

This commit is contained in:
Yan
2018-05-18 15:12:58 +06:30
parent ba1ad69181
commit 881593ce2c

View File

@@ -7,6 +7,7 @@ App.order = App.cable.subscriptions.create('BillChannel', {
received: function(data) {
var hostname = location.hostname.strip;
console.log(hostname + data.from);
console.log(hostname==data.from);
if(data.from == "" || hostname == data.from)
{