Files
ry.kazcloud.dev/node_modules/@astrojs/telemetry/dist/post.js
Ryan Kazokas d181f77fb2
All checks were successful
Build and Push / build (push) Successful in 55s
Updates dockerfile
2026-02-16 15:09:37 -05:00

12 lines
276 B
JavaScript

const ASTRO_TELEMETRY_ENDPOINT = `https://telemetry.astro.build/api/v1/record`;
function post(body) {
return fetch(ASTRO_TELEMETRY_ENDPOINT, {
method: "POST",
body: JSON.stringify(body),
headers: { "content-type": "application/json" }
});
}
export {
post
};