chore(rsplat): bump JS/CSS cache versions for Cloudflare

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-03-16 13:28:44 -07:00
parent cf93b33c8b
commit 0728c9e516
1 changed files with 4 additions and 4 deletions

View File

@ -712,12 +712,12 @@ routes.get("/", async (c) => {
modules: getModuleInfoList(), modules: getModuleInfoList(),
theme: "dark", theme: "dark",
head: ` head: `
<link rel="stylesheet" href="/modules/rsplat/splat.css?v=4"> <link rel="stylesheet" href="/modules/rsplat/splat.css?v=5">
${IMPORTMAP} ${IMPORTMAP}
`, `,
scripts: ` scripts: `
<script type="module"> <script type="module">
import { FolkSplatViewer } from '/modules/rsplat/folk-splat-viewer.js?v=5'; import { FolkSplatViewer } from '/modules/rsplat/folk-splat-viewer.js?v=6';
const gallery = document.getElementById('gallery'); const gallery = document.getElementById('gallery');
gallery.splats = ${splatsJSON}; gallery.splats = ${splatsJSON};
gallery.spaceSlug = '${spaceSlug}'; gallery.spaceSlug = '${spaceSlug}';
@ -772,12 +772,12 @@ function renderViewerPage(spaceSlug: string, dataSpace: string, idOrSlug: string
modules: getModuleInfoList(), modules: getModuleInfoList(),
theme: "dark", theme: "dark",
head: ` head: `
<link rel="stylesheet" href="/modules/rsplat/splat.css?v=4"> <link rel="stylesheet" href="/modules/rsplat/splat.css?v=5">
${IMPORTMAP} ${IMPORTMAP}
`, `,
scripts: ` scripts: `
<script type="module"> <script type="module">
import { FolkSplatViewer } from '/modules/rsplat/folk-splat-viewer.js?v=5'; import { FolkSplatViewer } from '/modules/rsplat/folk-splat-viewer.js?v=6';
</script> </script>
`, `,
}); });