PASSAGGIO A VITE !

AGG. 1.1.23
This commit is contained in:
Surya Paolo
2025-03-01 14:14:43 +01:00
parent f0098e57b2
commit bc960d38a1
1044 changed files with 5323 additions and 10823777 deletions

View File

@@ -1,34 +0,0 @@
function geturl() {
const miaurl = document.location.href
if (miaurl.includes('localhost')) {
return 'https://127.0.0.1:8084'
}
return ''
}
function getidtrack() {
const miaurl = document.location.href
if (miaurl.includes('test.') || miaurl.includes('localhost')) {
return '4c40a07bc88a9c50c9b70dc9c5cd8e2e'
}
return 'ccfd6c90e17b6809f9717675764c3f5d' // Associazione Shen
}
let owa_baseUrl = `${geturl()}owa/`;
if (owa_cmds) var owa_cmds = [];
else var owa_cmds = owa_cmds || [];
owa_cmds.push(['setSiteId', getidtrack()]);
owa_cmds.push(['trackPageView']);
// owa_cmds.push(['trackClicks']);
(function () {
const _owa = document.createElement('script');
_owa.type = 'text/javascript';
_owa.async = true;
owa_baseUrl = (document.location.protocol == 'https:' ? window.owa_baseSecUrl || owa_baseUrl.replace(/http:/, 'https:') : owa_baseUrl);
_owa.src = `${owa_baseUrl}modules/base/js/owa.tracker-combined-min.js`;
const _owa_s = document.getElementsByTagName('script')[0];
_owa_s.parentNode.insertBefore(_owa, _owa_s);
}());