index: fix localhost

Seems like some TVs miss a localhost entry in /etc/hosts. 127.0.0.1
should work fine in that case.
pull/81/head
Piotr Dobrowolski 2021-11-12 19:47:13 +01:00
rodzic dc06a2f9c8
commit 53a1c4c2d4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -223,7 +223,7 @@
// Allow people to download the exploit page to manually set target IP,
// in case direct on-tv deployment fails for some reason.
var target = is_local ? prompt('Enter IP address of Your TV') : 'localhost';
var target = is_local ? prompt('Enter IP address of Your TV') : '127.0.0.1';
bootstrap(target, new URL('stage2.html', ORIGIN_URL).href);
}