mirror of
https://github.com/casjaysdevdocker/tools
synced 2026-01-27 16:34:36 -05:00
🗃️ Committing everything that changed 🗃️
applications/ configs/ lists/ wwwroot/
This commit is contained in:
7
wwwroot/www/js/errorpages/loaddomain.js
Normal file
7
wwwroot/www/js/errorpages/loaddomain.js
Normal file
@@ -0,0 +1,7 @@
|
||||
function loadDomain() {
|
||||
let proto = location.protocol;
|
||||
let port = location.port;
|
||||
let url = location.hostname;
|
||||
var display = document.getElementById('display-domain');
|
||||
display.innerHTML = proto + '//' + url + ':' + port;
|
||||
}
|
||||
Reference in New Issue
Block a user