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(),
|
||||
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>
|
||||
`,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue