From 0d1d3c9047026704d5791547839555ba62430657 Mon Sep 17 00:00:00 2001 From: 00Fjongl <65314359+00Fjongl@users.noreply.github.com> Date: Thu, 18 Jul 2024 00:10:37 -0500 Subject: [PATCH] Include JSON assets in endpoint testing and slightly revise h5 games list. --- proxyServiceValidator.js | 5 +++++ views/assets/js/common-16451543478.js | 2 +- views/assets/json/h5-nav.json | 3 +-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/proxyServiceValidator.js b/proxyServiceValidator.js index 61f6be63..764a4168 100644 --- a/proxyServiceValidator.js +++ b/proxyServiceValidator.js @@ -50,6 +50,11 @@ const testServerResponse = async () => { "http://localhost:8080/assets/js/common-16451543478.js", "http://localhost:8080/assets/js/csel.js", "http://localhost:8080/assets/js/particlesjs/particles.js", + "http://localhost:8080/assets/json/emu-nav.json", + "http://localhost:8080/assets/json/emulib-nav.json", + "http://localhost:8080/assets/json/flash-nav.json", + "http://localhost:8080/assets/json/h5-nav.json", + "http://localhost:8080/assets/json/links.json", "http://localhost:8080/baremux/index.js", "http://localhost:8080/baremux/worker.js", "http://localhost:8080/epoxy/index.mjs", diff --git a/views/assets/js/common-16451543478.js b/views/assets/js/common-16451543478.js index e649476a..226b55d4 100644 --- a/views/assets/js/common-16451543478.js +++ b/views/assets/js/common-16451543478.js @@ -474,7 +474,7 @@ addEventListener("DOMContentLoaded", () => { let functionsList = [ () => goFrame(item.path), () => goFrame("/?eg&core=" + item.core + "&rom=" + item.rom), - () => item.custom ? goProx[item.custom](true) : goFrame("/archive/g/" + item.path, item.nolag) + () => item.custom ? goProx[item.custom]("stealth") : goFrame("/archive/g/" + item.path) ]; a.addEventListener("click", clickHandler(functionsList[Object.values(dirnames).indexOf(dir)], a)); diff --git a/views/assets/json/h5-nav.json b/views/assets/json/h5-nav.json index 34469f4d..99308e9e 100644 --- a/views/assets/json/h5-nav.json +++ b/views/assets/json/h5-nav.json @@ -143,8 +143,7 @@ "name": "Super Mario 64", "path": "sm64/", "img": "sm64.png", - "description": "A classic. Super Mario 64 is a 1996 platform game for the Nintendo 64 and the first Super Mario game to feature 3D gameplay.", - "nolag": true + "description": "A classic. Super Mario 64 is a 1996 platform game for the Nintendo 64 and the first Super Mario game to feature 3D gameplay." }, { "name": "Zork Clone",