Skip to content

Commit

Permalink
Merge branch 'glink24:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
glink25 authored Nov 15, 2024
2 parents f85ec01 + c0b65ca commit 0894307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapter/github/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const writePage: WritePage = async (_path, data, assets) => {
console.log(main, "main");
const meta = toMeta({ ...data, updateTime: Date.now() });
const rawString = JSON.stringify({ ...meta, ...JSON.parse(data.content) });
const textFile = new File([new Blob([rawString], { type: "application/json;charset=utf-8" })], path.replace(/^\//, ""));
const textFile = new File([new Blob([rawString], { type: "application/json" })], path.replace(/^\//, ""));
const tree = await Promise.all(
[
...assets.map(({ file }) => ({
Expand Down

0 comments on commit 0894307

Please sign in to comment.