Skip to content

Commit

Permalink
Merge pull request #270 from entrylabs/feature/hardware_wss
Browse files Browse the repository at this point in the history
wss 주소 변경.
  • Loading branch information
chanlee committed May 16, 2016
2 parents 9af51c3 + 009cd14 commit 1b714a5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dist/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -12917,14 +12917,14 @@ p.initSocket = function() {
} else {
var a = this, b, c;
if (-1 < location.protocol.indexOf("https")) {
c = new WebSocket("wss://localhost:23518");
c = new WebSocket("wss://hardware.play-entry.org:23518");
} else {
try {
b = new WebSocket("ws://localhost:23518");
} catch (d) {
}
try {
c = new WebSocket("wss://localhost:23518");
c = new WebSocket("wss://hardware.play-entry.org:23518");
} catch (d) {
}
}
Expand Down
4 changes: 2 additions & 2 deletions dist/entry.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/hw.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ p.initSocket = function() {
var socket, socketSecurity;
var protocol = '';
if(location.protocol.indexOf('https') > -1) {
socketSecurity = new WebSocket("wss://localhost:23518");
socketSecurity = new WebSocket("wss://hardware.play-entry.org:23518");
} else {
try{
socket = new WebSocket("ws://localhost:23518");
} catch(e) {}
try{
socketSecurity = new WebSocket("wss://localhost:23518");
socketSecurity = new WebSocket("wss://hardware.play-entry.org:23518");
} catch(e) {
}
}
Expand Down

0 comments on commit 1b714a5

Please sign in to comment.