chore: tipado arazoak kentzen ditu
This commit is contained in:
1 parent
f88f4ba0be
commit
e9b3366627
2 files changed
+7
-1
No files matched your search
Vendored
+4
@@ -1,5 +1,9 @@
|
||||
type EnvBoolean = "true" | "false";
|
||||
|
||||
interface Window {
|
||||
_paq?: unknown[];
|
||||
}
|
||||
|
||||
interface ImportMetaEnv {
|
||||
readonly STRAPI_URL: string;
|
||||
readonly SITE_URL: string;
|
||||
|
||||
@@ -60,7 +60,9 @@ const {
|
||||
s = d.getElementsByTagName("script")[0];
|
||||
g.async = true;
|
||||
g.src = u + "matomo.js";
|
||||
s.parentNode.insertBefore(g, s);
|
||||
if (s?.parentNode) {
|
||||
s.parentNode.insertBefore(g, s);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
<!-- End Matomo Code -->
|
||||
|
||||
Reference in new issue
Block a user