mirror of
https://github.com/dockersrc/scripts
synced 2025-09-17 21:57:39 -04:00
🗃️ Committing everything that changed 🗃️
configs/gitea/ htdocs/www/js/errorpages/loaddomain.js init/done/08-gitea.sh
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