We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec7d9e3 commit 70f938bCopy full SHA for 70f938b
packages/node/src/integrations/node-fetch.ts
@@ -192,11 +192,11 @@ function getBreadcrumbData(request: FetchRequest): Partial<SanitizedRequestData>
192
function getAbsoluteUrl(origin: string, path: string = '/'): string {
193
const url = `${origin}`;
194
195
- if (origin.endsWith('/') && path.startsWith('/')) {
+ if (url.endsWith('/') && path.startsWith('/')) {
196
return `${url}${path.slice(1)}`;
197
}
198
199
- if (!origin.endsWith('/') && !path.startsWith('/')) {
+ if (!url.endsWith('/') && !path.startsWith('/')) {
200
return `${url}/${path.slice(1)}`;
201
202
0 commit comments