Skip to content

Commit

Permalink
Merge pull request #10349 from vector-im/bwindels/cachebust-config
Browse files Browse the repository at this point in the history
Cachebust config file requests
  • Loading branch information
bwindels authored Jul 16, 2019
2 parents 8edb741 + 2cf1aab commit 8a022a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vector/getconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8a022a4

Please sign in to comment.