@stemy/ngx-utils 19.4.12 → 19.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1913,7 +1913,7 @@ class LoaderUtils {
|
|
|
1913
1913
|
const time = new Date().getTime();
|
|
1914
1914
|
const script = document.createElement("script");
|
|
1915
1915
|
script.type = type;
|
|
1916
|
-
script.src = `${src}?time=${time}`;
|
|
1916
|
+
script.src = src?.startsWith("data:") ? src : `${src}?time=${time}`;
|
|
1917
1917
|
script.async = async;
|
|
1918
1918
|
return script;
|
|
1919
1919
|
});
|
|
@@ -1924,7 +1924,7 @@ class LoaderUtils {
|
|
|
1924
1924
|
const link = document.createElement("link");
|
|
1925
1925
|
link.rel = "stylesheet";
|
|
1926
1926
|
link.type = "text/css";
|
|
1927
|
-
link.href = `${src}?time=${time}`;
|
|
1927
|
+
link.href = src?.startsWith("data:") ? src : `${src}?time=${time}`;
|
|
1928
1928
|
return link;
|
|
1929
1929
|
});
|
|
1930
1930
|
}
|