switch config.js values to be present directly in index.html, loaded server-side during page render instead of as a separate request
This commit is contained in:
parent
9ce5e232bb
commit
4dd82b3376
|
@ -5,7 +5,7 @@
|
||||||
window.indexLoadedTime = window.performance.now();
|
window.indexLoadedTime = window.performance.now();
|
||||||
console.log("(TIME) index.html loaded:\t", indexLoadedTime);
|
console.log("(TIME) index.html loaded:\t", indexLoadedTime);
|
||||||
</script>
|
</script>
|
||||||
<script src="config.js?v=15"></script><!-- adapt to your needs, i.e. set hosts and bosh path -->
|
<script><!--#include virtual="config.js" --></script><!-- adapt to your needs, i.e. set hosts and bosh path -->
|
||||||
<script src="utils.js?v=1"></script>
|
<script src="utils.js?v=1"></script>
|
||||||
<!--#include virtual="connection_optimization/connection_optimization.html" -->
|
<!--#include virtual="connection_optimization/connection_optimization.html" -->
|
||||||
<script src="connection_optimization/do_external_connect.js?v=1"></script>
|
<script src="connection_optimization/do_external_connect.js?v=1"></script>
|
||||||
|
|
Loading…
Reference in New Issue