WebHost: fix CWE-79/CWE-116

This commit is contained in:
Fabian Dill 2021-11-03 09:33:47 +01:00
parent 583819c4ae
commit fe7f109127
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ window.addEventListener('load', () => {
gameName = document.getElementById('player-settings').getAttribute('data-game');
// Update game name on page
document.getElementById('game-name').innerHTML = gameName;
document.getElementById('game-name').innerText = gameName;
Promise.all([fetchSettingData()]).then((results) => {
let settingHash = localStorage.getItem(`${gameName}-hash`);