mirror of
				https://github.com/casjaysdevdocker/lighttpd
				synced 2025-11-04 07:02:12 -05:00 
			
		
		
		
	🗃️ Committing everything that changed 🗃️
rootfs/usr/local/share/template-files/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