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