got socketio to work
This commit is contained in:
parent
3f20bcf712
commit
62b92d3f7f
2
public/dist/form-application.js
vendored
2
public/dist/form-application.js
vendored
@ -1214,7 +1214,7 @@ angular.module('view-form').factory('Forms', ['$resource', 'VIEW_FORM_URL',
|
||||
console.log("$window.socketUrl: "+$window.socketUrl);
|
||||
if($window.socketPort && $window.socketUrl){
|
||||
url = window.location.protocol + '//' + $window.socketUrl + ':' + $window.socketPort;
|
||||
} else if ($window.socketUrl && !$window.socketUrl){
|
||||
} else if ($window.socketUrl && !$window.socketPort){
|
||||
url = window.location.protocol + '//' + $window.socketUrl;
|
||||
} else if ($window.socketPort){
|
||||
url = window.location.protocol + '//' + window.location.hostname + ':' + $window.socketPort;
|
||||
|
||||
2
public/dist/form-application.min.js
vendored
2
public/dist/form-application.min.js
vendored
File diff suppressed because one or more lines are too long
@ -22,7 +22,7 @@
|
||||
console.log("$window.socketUrl: "+$window.socketUrl);
|
||||
if($window.socketPort && $window.socketUrl){
|
||||
url = window.location.protocol + '//' + $window.socketUrl + ':' + $window.socketPort;
|
||||
} else if ($window.socketUrl && !$window.socketUrl){
|
||||
} else if ($window.socketUrl && !$window.socketPort){
|
||||
url = window.location.protocol + '//' + $window.socketUrl;
|
||||
} else if ($window.socketPort){
|
||||
url = window.location.protocol + '//' + window.location.hostname + ':' + $window.socketPort;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user