From 5562d3e76f60c995ef352bf7cb809752fbb1e1d8 Mon Sep 17 00:00:00 2001 From: Nekromateion <43814053+Nekromateion@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:54:40 +0200 Subject: [PATCH] Fix CheckVRChatCache erroring for non variants --- html/src/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/html/src/app.js b/html/src/app.js index 4e2c23bb..f2a099d2 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -5444,7 +5444,9 @@ speechSynthesis.getVoices(); } try { const params = new URLSearchParams(new URL(url).search); - return params.get('v'); + let version = params.get('v'); + if (version) return version; + return '0' } catch { return '0'; }