query param to flush s3 cors header cache

This commit is contained in:
Kevin Ngo
2018-11-08 17:11:24 +08:00
parent 9a88ed1f5b
commit 7953126168

View File

@@ -1,6 +1,6 @@
const BASE_URL = 'https://saber.supermedium.com';
function getS3FileUrl (id, name) {
return `${BASE_URL}/${id}-${name}`;
return `${BASE_URL}/${id}-${name}?v=1`;
}
module.exports.getS3FileUrl = getS3FileUrl;