Fixes a problem when using base for the page.

The problem is when not using / before virtual files and having a base for the page nginx can search for the file in wrong location.
This commit is contained in:
damencho 2016-08-03 11:52:56 -05:00
parent b457166726
commit 7251c7a641
1 changed files with 2 additions and 2 deletions

View File

@ -7,11 +7,11 @@
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><!--#include virtual="config.js" --></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>
<script><!--#include virtual="interface_config.js" --></script> <script><!--#include virtual="/interface_config.js" --></script>
<script src="libs/lib-jitsi-meet.min.js?v=139"></script> <script src="libs/lib-jitsi-meet.min.js?v=139"></script>
<script src="libs/app.bundle.min.js?v=139"></script> <script src="libs/app.bundle.min.js?v=139"></script>
<!--#include virtual="title.html" --> <!--#include virtual="title.html" -->