Updated config to fix clear text errors
A net::ERR_CLEARTEXT_NOT_PERMITTED occured when using the app on android phone, we have to force the android to allow the communication to fix the problem. More info : https://stackoverflow.com/a/54752717/10736081 Also fixed a problem with the images path when running the app on mobile.
This commit is contained in:
@ -25,7 +25,7 @@ routes = [
|
||||
: char.firstName;
|
||||
|
||||
$$("#title-char").text(charFullName);
|
||||
$$("#picture-char").attr("src", "/img/characters/" + char.firstName + ".png");
|
||||
$$("#picture-char").attr("src", "img/characters/" + char.firstName + ".png");
|
||||
actualCharId = charId;
|
||||
createTableOfStats();
|
||||
displayTableOfGrowthRates();
|
||||
|
Reference in New Issue
Block a user