浏览代码

default host

Nikolay Suslov 7 年之前
父节点
当前提交
53393d78b4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/web/lib/app.js

+ 1 - 1
public/web/lib/app.js

@@ -32,7 +32,7 @@ class WebApp {
     initReflectorServer() {
         this.currentReflector = localStorage.getItem('lcs_reflector');
         if (!this.currentReflector) {
-            localStorage.setItem('lcs_reflector', 'livecoding.space');
+            localStorage.setItem('lcs_reflector', window.location.host);
             this.currentReflector = localStorage.getItem('lcs_reflector');
         }
     }