Spaces:
Runtime error
Runtime error
Sarat Chandra
commited on
Commit
•
b0c695c
1
Parent(s):
d13f912
"CORS check"
Browse files
templates/index_socket.html
CHANGED
@@ -31,7 +31,7 @@
|
|
31 |
</div>
|
32 |
|
33 |
<script>
|
34 |
-
var socket = io.connect('
|
35 |
|
36 |
function getInformation() {
|
37 |
var ticker = document.getElementById('ticker').value;
|
|
|
31 |
</div>
|
32 |
|
33 |
<script>
|
34 |
+
var socket = io.connect('https://' + document.domain + ':' + location.port);
|
35 |
|
36 |
function getInformation() {
|
37 |
var ticker = document.getElementById('ticker').value;
|