fix(rsplat): bump JS cache version to v=9
Force browsers to fetch updated folk-splat-viewer.js with error handling fixes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f1de3b654e
commit
de828c4247
|
|
@ -717,7 +717,7 @@ routes.get("/", async (c) => {
|
|||
`,
|
||||
scripts: `
|
||||
<script type="module">
|
||||
import { FolkSplatViewer } from '/modules/rsplat/folk-splat-viewer.js?v=8';
|
||||
import { FolkSplatViewer } from '/modules/rsplat/folk-splat-viewer.js?v=9';
|
||||
const gallery = document.getElementById('gallery');
|
||||
gallery.splats = ${splatsJSON};
|
||||
gallery.spaceSlug = '${spaceSlug}';
|
||||
|
|
@ -777,7 +777,7 @@ function renderViewerPage(spaceSlug: string, dataSpace: string, idOrSlug: string
|
|||
`,
|
||||
scripts: `
|
||||
<script type="module">
|
||||
import { FolkSplatViewer } from '/modules/rsplat/folk-splat-viewer.js?v=8';
|
||||
import { FolkSplatViewer } from '/modules/rsplat/folk-splat-viewer.js?v=9';
|
||||
</script>
|
||||
`,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue