Include application version in css/js url for cache busting

This change forces new versions of all css and js files to be picked up when qBittorrent is updated.
This commit is contained in:
Thomas Piccirello
2018-12-28 13:35:49 -05:00
parent 9197b0a5ea
commit 877a2a2802
14 changed files with 36 additions and 36 deletions

View File

@@ -4,10 +4,10 @@
<head>
<meta charset="UTF-8" />
<title>QBT_TR(Upload local torrent)QBT_TR[CONTEXT=HttpServer]</title>
<link rel="stylesheet" href="css/style.css" type="text/css" />
<link rel="stylesheet" href="css/Window.css" type="text/css" />
<link rel="stylesheet" href="css/style.css?v=${VERSION}" type="text/css" />
<link rel="stylesheet" href="css/Window.css?v=${VERSION}" type="text/css" />
<script src="scripts/lib/mootools-1.2-core-yc.js"></script>
<script src="scripts/download.js"></script>
<script src="scripts/download.js?v=${VERSION}"></script>
</head>
<body>