Skip to content

Commit

Permalink
set content-type of index.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Techatrix committed Nov 21, 2024
1 parent 7f26dcb commit dd18df6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,11 @@ export async function handlePublish(
env.ZIGTOOLS_BUILDS.put(
"index.json",
JSON.stringify(index, undefined, 2),
{
httpMetadata: {
contentType: "application/json",
},
},
),
);
}
Expand Down

0 comments on commit dd18df6

Please sign in to comment.