Commit d3cfbaa5efa2dac093c9502e363f0beec802b8d3

Authored by ykxie
1 parent ff043f20

api path

Showing 1 changed file with 2 additions and 2 deletions
src/live/js/student.js
1 $(function() { 1 $(function() {
2 var teacherId = document.getElementById('teacher'); 2 var teacherId = document.getElementById('teacher');
3 var studentId = document.getElementById('student'); 3 var studentId = document.getElementById('student');
4 - // var socket = io('https://live-api.gaoxiaobang.com');  
5 - var socket = io('http://localhost:5000'); 4 + var socket = io('https://live-api.gaoxiaobang.com');
  5 + // var socket = io('http://localhost:5000');
6 6
7 var teacher = CodeMirror.fromTextArea(teacherId, { 7 var teacher = CodeMirror.fromTextArea(teacherId, {
8 value: '输入HTML代码', 8 value: '输入HTML代码',