🗃️ Committing everything that changed 🗃️

configs/gitea/
htdocs/www/js/errorpages/loaddomain.js
init/done/08-gitea.sh
This commit is contained in:
casjay
2024-07-17 19:48:45 -04:00
parent 5d4f990aa5
commit b962a4e391
3 changed files with 280 additions and 28 deletions

View File

@@ -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}`;
}