Commit 7db434bc authored by Leo Iannacone's avatar Leo Iannacone

serve js and css according with version - this is useful to clear users cache...

serve js and css according with version - this is useful to clear users cache when a new version is released
parent 08efe176
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</div> </div>
</footer> </footer>
<script src='/socket.io/socket.io.js'></script> <script src='/socket.io/socket.io.js?<%= version %>'></script>
<script src='/external_libs/jquery/jquery-1.11.0.min.js'></script> <script src='/external_libs/jquery/jquery-1.11.0.min.js'></script>
<script src="/external_libs/bootstrap-3.1.1-dist/js/bootstrap.min.js"></script> <script src="/external_libs/bootstrap-3.1.1-dist/js/bootstrap.min.js"></script>
...@@ -37,12 +37,12 @@ ...@@ -37,12 +37,12 @@
</script> </script>
<script src='/javascripts/debug.js'></script> <script src='/javascripts/debug.js?<%= version %>'></script>
<script src='/javascripts/utils.js'></script> <script src='/javascripts/utils.js?<%= version %>'></script>
<script src='/javascripts/preferences.js'></script> <script src='/javascripts/preferences.js?<%= version %>'></script>
<script src='/javascripts/page_generic.js'></script> <script src='/javascripts/page_generic.js?<%= version %>'></script>
<script src='/javascripts/page_distribution.js'></script> <script src='/javascripts/page_distribution.js?<%= version %>'></script>
<script src='/javascripts/main.js'></script> <script src='/javascripts/main.js?<%= version %>'></script>
</body> </body>
</html> </html>
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/external_libs/bootstrap-3.1.1-dist/css/bootstrap.min.css"> <link rel="stylesheet" href="/external_libs/bootstrap-3.1.1-dist/css/bootstrap.min.css">
<link rel="stylesheet" href="/external_libs/bootstrap-3.1.1-dist/css/bootstrap-theme.min.css"> <link rel="stylesheet" href="/external_libs/bootstrap-3.1.1-dist/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="/stylesheets/style.css"> <link rel="stylesheet" href="/stylesheets/style.css?<%= version %>">
</head> </head>
<body> <body>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment