Merge pull request #123 from Landmarks-Tech/main
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
(() => {
|
||||
const WASM_VERSION = "0.0.6";
|
||||
|
||||
// SSR fix
|
||||
if (typeof window === "undefined") {
|
||||
return;
|
||||
}
|
||||
|
||||
const capFetch = (...args) => {
|
||||
if (window?.CAP_CUSTOM_FETCH) {
|
||||
return window.CAP_CUSTOM_FETCH(...args);
|
||||
|
||||
Reference in New Issue
Block a user