fix: Snippet path in preview (#14830)

* fix: Snippet path in preview

* Add test
This commit is contained in:
Hariom Balhara authored and GitHub committed 2024-05-02 16:03:57 +00:00
1 parent 52813b01e6
commit 6c8fced247
2 files changed
+18 -2

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ if (!bookerUrl || !embedLibUrl) {
}
p(cal, ar);
};
})(window, "//localhost:3000/embed/embed.js", "init");
})(window, embedLibUrl, "init");
const previewWindow = window;
previewWindow.Cal.fingerprint = process.env.EMBED_PUBLIC_EMBED_FINGER_PRINT as string;