diff --git a/shell.html b/shell.html index 7b4c94c..c99c4ce 100644 --- a/shell.html +++ b/shell.html @@ -203,7 +203,10 @@ }) .then(function(jsonResponse) { jsonResponse.forEach((f) => { - fetch('gameasync/' + f).then().catch(); + const url = mapping[f.toLowerCase().replace(new RegExp("\\.[^/.]+$"), "")]; + if (!url) return; + + fetch('gameasync/' + url).then().catch(); }); }); };