mirror of
https://github.com/casjaysdevdocker/squidguard
synced 2025-09-18 09:57:46 -04:00
🗃️ Committing everything that changed 🗃️
data/htdocs/www/js/errorpages/loaddomain.js
This commit is contained in:
@@ -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}`;
|
||||
}
|
||||
|
Reference in New Issue
Block a user