Use separate asset version for cache busting

This commit is contained in:
Omar Roth
2019-05-09 11:52:37 -05:00
parent bfa488f77d
commit fd8af88493
8 changed files with 59 additions and 54 deletions

View File

@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="thumbnail" content="<%= thumbnail %>">
<%= rendered "components/player_sources" %>
<link rel="stylesheet" href="/css/default.css?v=<%= CURRENT_COMMIT %>">
<link rel="stylesheet" href="/css/default.css?v=<%= ASSET_COMMIT %>">
<title><%= HTML.escape(video.title) %> - Invidious</title>
<style>
#player {
@@ -35,6 +35,6 @@ var video_data = {
</script>
<%= rendered "components/player" %>
<script src="/js/embed.js?v=<%= CURRENT_COMMIT %>"></script>
<script src="/js/embed.js?v=<%= ASSET_COMMIT %>"></script>
</body>
</html>