Include commit sha in app.js URL to avoid stale caches

Fixes: #24
This commit is contained in:
Teemu Patja 2017-03-15 12:27:23 +02:00
parent d17b207064
commit f41247e5a0
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
}
var commitethVersion = "{{commitethVersion}}";
</script>
{% script "/js/app.js" %}
<script type="text/javascript" src="/js/app.js?v={{commitethVersion}}"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),