🗃️ Committing everything that changed 🗃️

data/htdocs/www/js/errorpages/loaddomain.js
This commit is contained in:
casjay 2024-07-17 19:48:03 -04:00
parent 7a986369ca
commit 1b0bc6e90b
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -3,5 +3,5 @@ function loadDomain() {
let port = location.port;
let url = location.hostname;
var display = document.getElementById('display-domain');
display.innerHTML = proto + '//' + url + ':' + port;
display.innerHTML = `${req.protocol}://${req.get('host')}/${req.originalUrl}`;
}