chore(rsplat): bump JS/CSS cache versions for Cloudflare
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cf93b33c8b
commit
0728c9e516
|
|
@ -712,12 +712,12 @@ routes.get("/", async (c) => {
|
|||
modules: getModuleInfoList(),
|
||||
theme: "dark",
|
||||
head: `
|
||||
<link rel="stylesheet" href="/modules/rsplat/splat.css?v=4">
|
||||
<link rel="stylesheet" href="/modules/rsplat/splat.css?v=5">
|
||||
${IMPORTMAP}
|
||||
`,
|
||||
scripts: `
|
||||
<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');
|
||||
gallery.splats = ${splatsJSON};
|
||||
gallery.spaceSlug = '${spaceSlug}';
|
||||
|
|
@ -772,12 +772,12 @@ function renderViewerPage(spaceSlug: string, dataSpace: string, idOrSlug: string
|
|||
modules: getModuleInfoList(),
|
||||
theme: "dark",
|
||||
head: `
|
||||
<link rel="stylesheet" href="/modules/rsplat/splat.css?v=4">
|
||||
<link rel="stylesheet" href="/modules/rsplat/splat.css?v=5">
|
||||
${IMPORTMAP}
|
||||
`,
|
||||
scripts: `
|
||||
<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>
|
||||
`,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue