- Dynamic Pages (MyPage)
- Uploading files to the Server FTP.
This commit is contained in:
@@ -2,12 +2,12 @@ function geturl() {
|
||||
const miaurl = document.location.href
|
||||
|
||||
if (miaurl.includes('test.')) {
|
||||
return 'https://test.freeplanet.app/'
|
||||
return 'https://test.associazioneshen.it/'
|
||||
} else {
|
||||
if (miaurl.includes('localhost')) {
|
||||
return 'http://localhost:8080/'
|
||||
} else {
|
||||
return 'https://freeplanet.app/'
|
||||
return 'https://associazioneshen.it/'
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -18,12 +18,12 @@ function getidtrack() {
|
||||
if (miaurl.includes('test.') || miaurl.includes('localhost')) {
|
||||
return '4c40a07bc88a9c50c9b70dc9c5cd8e2e'
|
||||
} else {
|
||||
return '9853abef079fc8330ab188a9cbf07a0c'
|
||||
return 'ccfd6c90e17b6809f9717675764c3f5d' // Associazione Shen
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
var owa_baseUrl = geturl() + 'owa/';
|
||||
let owa_baseUrl = geturl() + 'owa/';
|
||||
if (owa_cmds)
|
||||
var owa_cmds = [];
|
||||
else
|
||||
@@ -33,11 +33,11 @@ owa_cmds.push(['trackPageView']);
|
||||
// owa_cmds.push(['trackClicks']);
|
||||
|
||||
(function () {
|
||||
var _owa = document.createElement('script');
|
||||
const _owa = document.createElement('script');
|
||||
_owa.type = 'text/javascript';
|
||||
_owa.async = true;
|
||||
owa_baseUrl = ('https:' == document.location.protocol ? window.owa_baseSecUrl || owa_baseUrl.replace(/http:/, 'https:') : owa_baseUrl);
|
||||
_owa.src = owa_baseUrl + 'modules/base/js/owa.tracker-combined-min.js';
|
||||
var _owa_s = document.getElementsByTagName('script')[0];
|
||||
const _owa_s = document.getElementsByTagName('script')[0];
|
||||
_owa_s.parentNode.insertBefore(_owa, _owa_s);
|
||||
}());
|
||||
|
||||
Reference in New Issue
Block a user