mirror of
https://github.com/casjaysdevdocker/tools
synced 2025-01-18 00:34:25 -05:00
🗃️ Committing everything that changed 🗃️
wwwroot/js/errorpages/loaddomain.js
This commit is contained in:
parent
75e36ccb33
commit
8352631685
@ -3,5 +3,5 @@ function loadDomain() {
|
|||||||
let port = location.port;
|
let port = location.port;
|
||||||
let url = location.hostname;
|
let url = location.hostname;
|
||||||
var display = document.getElementById('display-domain');
|
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