fix xhr redirect thing when a router console page is passed to firefox as an argument at startup

This commit is contained in:
idk
2020-09-21 00:20:59 -04:00
parent bc1ef95a16
commit cf7d137d00
2 changed files with 13 additions and 13 deletions

View File

@@ -111,13 +111,13 @@ function routerHost(url) {
if (hostname === control_host + ':' + control_port) {
return pathcheck(path);
}
if (hostname === control_host + ':' + "7662") {
if (hostname === control_host + ':' + '7662') {
return pathcheck(path);
}
if (hostname === 'localhost' + ':' + "7662") {
if (hostname === 'localhost' + ':' + '7662') {
return pathcheck(path);
}
if (hostname === '127.0.0.1' + ':' + "7662") {
if (hostname === '127.0.0.1' + ':' + '7662') {
return pathcheck(path);
}
if (hostname === 'localhost' + ':' + control_port) {