Skip to content

Commit

Permalink
Include JSON assets in endpoint testing and slightly revise h5 games …
Browse files Browse the repository at this point in the history
…list.
  • Loading branch information
00Fjongl committed Jul 18, 2024
1 parent 9d5d904 commit 0d1d3c9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions proxyServiceValidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion views/assets/js/common-16451543478.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
3 changes: 1 addition & 2 deletions views/assets/json/h5-nav.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0d1d3c9

Please sign in to comment.