We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00c0505 commit 7aeb536Copy full SHA for 7aeb536
2 files changed
builder_client.ts
@@ -463,7 +463,8 @@ export function client_builder(
463
464
// Bundle assets - serve from memory
465
for (const [assetPath, contents] of bundle_assets) {
466
- const mimeType = contentType(assetPath);
+ const parsed_path = Path.parse(assetPath);
467
+ const mimeType = contentType(parsed_path.ext);
468
// Create a new Uint8Array to ensure proper BodyInit compatibility
469
const assetBytes = new Uint8Array(contents);
470
const assetHandler: Router.Handler = Effect.gets(() =>
deno.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@baetheus/pick",
3
- "version": "0.7.0",
+ "version": "0.8.0",
4
"compilerOptions": {
5
"jsx": "react-jsx",
6
"jsxImportSource": "preact"
0 commit comments