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 e814248 commit 8901169Copy full SHA for 8901169
packages/thirdweb/src/utils/fetch.ts
@@ -228,6 +228,10 @@ export function getPlatformHeaders() {
228
...(bundleId ? { "x-bundle-id": bundleId } : {}),
229
});
230
231
+ if (typeof window !== "undefined") {
232
+ previousPlatform.push(["x-sdk-location", window.location.href]);
233
+ }
234
+
235
return previousPlatform;
236
}
237
0 commit comments