浏览代码

Merge pull request #659 from aaronkvanmeerten/master

SSI inclusion of config.js
j8
yanas 9 年前
父节点
当前提交
7f9c4d6480
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 0
    0
      base.html
  2. 2
    1
      index.html

+ 0
- 0
base.html 查看文件


+ 2
- 1
index.html 查看文件

@@ -1,11 +1,12 @@
1 1
 <html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
2 2
   <head>
3
+    <!--#include virtual="base.html" -->
3 4
     <!--#include virtual="title.html" -->
4 5
     <script>
5 6
         window.indexLoadedTime = window.performance.now();
6 7
         console.log("(TIME) index.html loaded:\t", indexLoadedTime);
7 8
     </script>
8
-    <script src="config.js?v=15"></script><!-- adapt to your needs, i.e. set hosts and bosh path -->
9
+    <script><!--#include virtual="config.js" --></script><!-- adapt to your needs, i.e. set hosts and bosh path -->
9 10
     <script src="utils.js?v=1"></script>
10 11
     <!--#include virtual="connection_optimization/connection_optimization.html" -->
11 12
     <script src="connection_optimization/do_external_connect.js?v=1"></script>

正在加载...
取消
保存