Checking service availability…
(async function() {
const httpsUrl = ‘https://dailyprayer.ampers.x10.mx/clean.php’;
const corsProxy = ‘http://corsproxy.io/?’;
const root = document.getElementById(‘app-root’);
try {
const response = await fetch(corsProxy + encodeURIComponent(httpsUrl));
if (response
else {
root.innerHTML = `
The online daily prayer service is currently unavailable due to technical issues with the providers server certificate.
Please download the official Australian Daily Prayer App:
`;
}
} catch (error) {
root.innerHTML = ‘
Error: ‘ + error + ‘
‘;
}
})();

