notfound: better text message

This commit is contained in:
Girish Ramakrishnan
2021-12-13 11:41:45 -08:00
parent 0c849d0df4
commit 84712ecc10

View File

@@ -46,14 +46,21 @@
text-decoration: underline;
}
</style>
</style>
<script type="text/javascript">
window.addEventListener('load', (event) => {
document.getElementById('message').innerHTML =
'You are seeing this page because the DNS record of <b>' + window.location.hostname + '</b> is set to this server\'s IP'
+ 'but Cloudron has no app configured for this domain.';
});
</script>
</head>
<body>
<div class="content">
<p>You are seeing this page because this domain points to <a href="https://cloudron.io">Cloudron</a> server IP but no app is installed on that domain.</p>
<p id="message"></p>
</div>
</body>