From 2cf1aabcba9d3f5e45d7fea47439b44dfe4052a3 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 16 Jul 2019 12:49:10 +0200 Subject: [PATCH] cachebust config file requests --- src/vector/getconfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vector/getconfig.js b/src/vector/getconfig.js index 392b32fe07..984b105190 100644 --- a/src/vector/getconfig.js +++ b/src/vector/getconfig.js @@ -37,7 +37,7 @@ export async function getVectorConfig(relativeLocation) { function getConfig(configJsonFilename) { return new Promise(function(resolve, reject) { request( - { method: "GET", url: configJsonFilename }, + { method: "GET", url: configJsonFilename, qs: { cachebuster: Date.now() } }, (err, response, body) => { try { if (err || response.status < 200 || response.status >= 300) {