Use a random number for WebUI cache busting

Also fetch qbt version info via WebAPI properly.
This commit is contained in:
Chocobo1
2019-04-17 20:09:03 +08:00
parent d022457e0c
commit 49b57904f9
18 changed files with 70 additions and 45 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?v=${VERSION}" type="text/css" />
<link rel="stylesheet" href="css/Window.css?v=${VERSION}" type="text/css" />
<link rel="stylesheet" href="css/style.css?v=${CACHEID}" type="text/css" />
<link rel="stylesheet" href="css/Window.css?v=${CACHEID}" type="text/css" />
<script src="scripts/lib/mootools-1.2-core-yc.js"></script>
<script src="scripts/download.js?v=${VERSION}"></script>
<script src="scripts/download.js?v=${CACHEID}"></script>
</head>
<body>