Skip to content

Commit 2af7628

Browse files
committed
adjust cachebusting to exclude 3D assets
1 parent 562da2d commit 2af7628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/modules/Preview/previewIndex.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const App = () => {
5555
function addCacheBustingToAssets(files) {
5656
const timestamp = new Date().getTime();
5757
return files.map((file) => {
58-
if (file.url) {
58+
if (file.url && !file.url.endsWith('obj') && !file.url.endsWith('stl')) {
5959
return {
6060
...file,
6161
url: `${file.url}?v=${timestamp}`

0 commit comments

Comments
 (0)