Files
tools/wwwroot/js/errorpages/homepage.js
T

6 lines
192 B
JavaScript
Raw Normal View History

function homepage() {
let proto = location.protocol;
let port = location.port;
let currentSite = window.location.hostname;
window.location = proto + '//' + currentSite + ':' + port;
}