Files
skills-here-run-place/node_modules/@astrojs/telemetry/dist/post.js
Alejandro Martinez f09af719cf Initial commit
2026-02-12 02:04:10 +01: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
};