Add trailing slash that is apparently needed
This commit is contained in:
@@ -13,7 +13,7 @@ export async function onRequestPost(context: RequestContext) {
|
||||
const sentryUrl = new URL(dsn);
|
||||
|
||||
const resp = await fetch(
|
||||
`https://${sentryUrl.host}/api${sentryUrl.pathname}/envelope`,
|
||||
`https://${sentryUrl.host}/api${sentryUrl.pathname}/envelope/`,
|
||||
{
|
||||
body: clonedRequest.body,
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user