瀏覽代碼

switch config.js values to be present directly in index.html, loaded server-side during page render instead of as a separate request

j8
Aaron van Meerten 9 年之前
父節點
當前提交
4dd82b3376
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      index.html

+ 1
- 1
index.html 查看文件

@@ -5,7 +5,7 @@
5 5
         window.indexLoadedTime = window.performance.now();
6 6
         console.log("(TIME) index.html loaded:\t", indexLoadedTime);
7 7
     </script>
8
-    <script src="config.js?v=15"></script><!-- adapt to your needs, i.e. set hosts and bosh path -->
8
+    <script><!--#include virtual="config.js" --></script><!-- adapt to your needs, i.e. set hosts and bosh path -->
9 9
     <script src="utils.js?v=1"></script>
10 10
     <!--#include virtual="connection_optimization/connection_optimization.html" -->
11 11
     <script src="connection_optimization/do_external_connect.js?v=1"></script>

Loading…
取消
儲存