mirror of
https://github.com/casjaysdevdocker/lighttpd
synced 2025-01-18 00:34:23 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/share/template-files/data/htdocs/www/js/errorpages/loaddomain.js
This commit is contained in:
parent
15b160e0ec
commit
1225d966c2
@ -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}`;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user