File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 11
11
"clientSecret" : " DdSz7JNyB0C8Q7vVtZEircWk" ,
12
12
"callbackURL" : " https://iiita-lectures.herokuapp.com/auth/google/callback"
13
13
},
14
- "host" :" "
14
+ "host" :" https://iiita-lectures.herokuapp.com "
15
15
}
Original file line number Diff line number Diff line change 11
11
$ (function () {
12
12
var room_set = [] ;
13
13
var host = ' <%- config.host %>' ;
14
- var socket = io .connect (host + ' /roomlist' );
14
+ var socket = io .connect (' https://iiita-lectures.herokuapp.com /roomlist' );
15
15
socket .on (' connect' , function () {
16
16
console .log (' Connection Established!' );
17
17
})
Original file line number Diff line number Diff line change 614
614
// if (response.data !== '') {
615
615
// var room_set = localStorage.getItem("room_data");
616
616
// room_set = JSON.parse(room_set);
617
-
617
+ // console.log('https://iiita-lectures.herokuapp.com/messages/'+'<%= course%>');
618
618
619
619
if (str != ' ' ) {
620
620
var messages = io .connect (' https://iiita-lectures.herokuapp.com/messages/' + ' <%= course%>' );
621
- /* messages.on('connect',function(){
621
+ messages .on (' connect' ,function (){
622
+ console .log (messages);
622
623
alert (' connected' );
623
- });*/
624
+ });
624
625
var room_set = localStorage .getItem (" room_data" );
625
626
room_set = JSON .parse (room_set);
626
627
// console.log(room_set[0]);
You can’t perform that action at this time.
0 commit comments