We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac54d24 commit f324650Copy full SHA for f324650
1 file changed
src/utils/axios-client.ts
@@ -123,9 +123,9 @@ export function createAxiosClient({
123
if (typeof window !== "undefined") {
124
config.headers.set("X-Origin-URL", window.location.href);
125
}
126
-
+ const requestId = uuidv4();
127
+ (config as any).requestId = requestId;
128
if (isInIFrame) {
- const requestId = uuidv4();
129
try {
130
window.parent.postMessage(
131
{
0 commit comments