This commit is contained in:
Yan
2018-05-18 14:38:31 +06:30
parent 39e7269fc1
commit 0d2f609b07
4 changed files with 23 additions and 21 deletions

View File

@@ -8,13 +8,7 @@
// Temp Disable
(function() {
this.App || (this.App = {});
// var hostname = location.hostname;
// var port = location.port;
// var host = hostname + ":" + port + "/cable"
// console.log(host);
// App.cable = ActionCable.createConsumer();
// console.log(App.cable);
App.cable = ActionCable.createConsumer();
}).call(this);