chore(rsplat): bump JS/CSS cache version to v=2

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-03-15 17:03:22 -07:00
parent c5f757d050
commit 2cce369b7b
1 changed files with 4 additions and 4 deletions

View File

@ -600,12 +600,12 @@ routes.get("/", async (c) => {
modules: getModuleInfoList(),
theme: "dark",
head: `
<link rel="stylesheet" href="/modules/rsplat/splat.css">
<link rel="stylesheet" href="/modules/rsplat/splat.css?v=2">
${IMPORTMAP}
`,
scripts: `
<script type="module">
import { FolkSplatViewer } from '/modules/rsplat/folk-splat-viewer.js';
import { FolkSplatViewer } from '/modules/rsplat/folk-splat-viewer.js?v=2';
const gallery = document.getElementById('gallery');
gallery.splats = ${splatsJSON};
gallery.spaceSlug = '${spaceSlug}';
@ -664,12 +664,12 @@ routes.get("/view/:id", async (c) => {
modules: getModuleInfoList(),
theme: "dark",
head: `
<link rel="stylesheet" href="/modules/rsplat/splat.css">
<link rel="stylesheet" href="/modules/rsplat/splat.css?v=2">
${IMPORTMAP}
`,
scripts: `
<script type="module">
import { FolkSplatViewer } from '/modules/rsplat/folk-splat-viewer.js';
import { FolkSplatViewer } from '/modules/rsplat/folk-splat-viewer.js?v=2';
</script>
`,
});