Skip to content

Commit dd18df6

Browse files
committed
set content-type of index.json
1 parent 7f26dcb commit dd18df6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/publish.ts

+5
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,11 @@ export async function handlePublish(
562562
env.ZIGTOOLS_BUILDS.put(
563563
"index.json",
564564
JSON.stringify(index, undefined, 2),
565+
{
566+
httpMetadata: {
567+
contentType: "application/json",
568+
},
569+
},
565570
),
566571
);
567572
}

0 commit comments

Comments
 (0)