fix for caching plugin-definitions

This commit is contained in:
webzwo0i 2021-02-15 08:52:38 +01:00 committed by John McLear
parent bdb78adb3f
commit 0bb3e65020
5 changed files with 32 additions and 20 deletions

View file

@ -260,7 +260,11 @@
<!-- Bootstrap -->
<script type="text/javascript" >
// @license magnet:?xt=urn:btih:8e4f440f4c65981c5bf93c76d35135ba5064d8b7&dn=apache-2.0.txt
var clientVars = {};
var clientVars = {
// This is needed to fetch /pluginfw/plugin-definitions.json, which happens before the
// server sends the CLIENT_VARS message.
randomVersionString: <%-JSON.stringify(settings.randomVersionString)%>,
};
var BroadcastSlider;
(function () {
var pathComponents = location.pathname.split('/');