Skip to content

Instantly share code, notes, and snippets.

View AliReza99's full-sized avatar

AliReza Bahrani AliReza99

View GitHub Profile
@erfanium
erfanium / worker.js
Last active January 25, 2024 23:34
sentry tunnel via cloudflare workers
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "*",
"Access-Control-Allow-Headers": "Content-Type",
"Access-Control-Max-Age": "86400",
};
// Set known project IDs for the Sentry projects you want to accept through this proxy
const knownProjectIds = []; // TODO: fill this