fix: pwa prevents layout share url from being loaded

This commit is contained in:
2024-07-09 16:29:28 +02:00
parent 92ba5bcb24
commit 3f9674b399
2 changed files with 1 additions and 1 deletions

View File

@@ -72,7 +72,6 @@ export async function charaFileFromUriComponent<T extends CharaFiles>(
.stream() .stream()
.pipeThrough(new DecompressionStream("deflate")); .pipeThrough(new DecompressionStream("deflate"));
const actions = new Uint8Array(await new Response(stream).arrayBuffer()); const actions = new Uint8Array(await new Response(stream).arrayBuffer());
console.log(actions);
file[key] = deserializeActionArray(actions); file[key] = deserializeActionArray(actions);
} }
} }

View File

@@ -52,6 +52,7 @@ export default defineConfig({
"client/**/*.{js,map,css,ico,woff2,csv,png,webp,svg,webmanifest}", "client/**/*.{js,map,css,ico,woff2,csv,png,webp,svg,webmanifest}",
"prerendered/**/*.html", "prerendered/**/*.html",
], ],
ignoreURLParametersMatching: [/^import$/],
}, },
manifest: { manifest: {
name: "CharaChorder Device Manager", name: "CharaChorder Device Manager",