Use different projects/DSNs for remix and functions
This commit is contained in:
@@ -8,7 +8,7 @@ export async function onRequestPost(context: RequestContext) {
|
||||
|
||||
const { dsn } = JSON.parse(header);
|
||||
|
||||
if (context.env.DSN !== dsn) return jsonError("Bad or no DSN", 400);
|
||||
if (context.env.REMIX_DSN !== dsn) return jsonError("Bad or no DSN", 400);
|
||||
|
||||
const sentryUrl = new URL(dsn);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user