This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |