mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
Fix CheckVRChatCache erroring for non variants
This commit is contained in:
@@ -5440,13 +5440,13 @@ speechSynthesis.getVoices();
|
||||
|
||||
var extractVariantVersion = (url) => {
|
||||
if (!url) {
|
||||
return '';
|
||||
return '0';
|
||||
}
|
||||
try {
|
||||
const params = new URLSearchParams(new URL(url).search);
|
||||
return params.get('v');
|
||||
} catch {
|
||||
return '';
|
||||
return '0';
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user