Skip to content

Commit 2cf1aab

Browse files
committed
cachebust config file requests
1 parent 9de26ed commit 2cf1aab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vector/getconfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export async function getVectorConfig(relativeLocation) {
3737
function getConfig(configJsonFilename) {
3838
return new Promise(function(resolve, reject) {
3939
request(
40-
{ method: "GET", url: configJsonFilename },
40+
{ method: "GET", url: configJsonFilename, qs: { cachebuster: Date.now() } },
4141
(err, response, body) => {
4242
try {
4343
if (err || response.status < 200 || response.status >= 300) {

0 commit comments

Comments
 (0)