Skip to content

Commit

Permalink
cf-worker: remove header from domain data
Browse files Browse the repository at this point in the history
  • Loading branch information
dr497 committed Oct 1, 2024
1 parent 57a4f22 commit ddc1d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cf-worker/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ app.get("/domain-data/:domain", async (c) => {
return c.json(response(false, "Domain not found"));
}

const base64Data = info.data.toString("base64");
const base64Data = info.data.slice(96).toString("base64");

return c.json(response(true, base64Data));
} catch (err) {
Expand Down

0 comments on commit ddc1d15

Please sign in to comment.