Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Strip /api/0 prefix from endpoint URLs #1752

Merged
merged 3 commits into from Sep 22, 2023
Merged

Conversation

loewenheim
Copy link
Contributor

@loewenheim loewenheim commented Sep 22, 2023

It is unclear why sentry would send a URL containing a /api/0 prefix, but it happens in practice and is definitely incorrect. We now make sure to strip these prefixes.

Fixes #1722, #348.

@loewenheim loewenheim self-assigned this Sep 22, 2023
@loewenheim loewenheim enabled auto-merge (squash) September 22, 2023 12:28
@loewenheim loewenheim merged commit 3ef1c6b into master Sep 22, 2023
16 checks passed
@loewenheim loewenheim deleted the fix/api-prefix branch September 22, 2023 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Source maps upload returns 404 error
2 participants