fix goToPage

This commit is contained in:
2022-12-18 21:58:46 -08:00
parent 5dc35cbbf3
commit 73ab09983c
4 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ function init (){
status.innerText = "Authenticating...";
let ticket = await requestTicket(formData.get("username"), formData.get("password"));
setTicket(ticket.data.ticket, ticket.data.CSRFPreventionToken);
goToPage("https://client.tronnet.net/index.html");
goToPage("index.html");
}
catch (error) {
if(error instanceof ResponseError) { // response error is usually 401 auth failed