mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-16 13:23:52 +02:00
solve metadata.fileName being undefined
This commit is contained in:
@@ -510,7 +510,7 @@
|
||||
|
||||
D.metadata = metadata;
|
||||
|
||||
const regex = metadata.fileName.match(
|
||||
const regex = metadata.fileName?.match(
|
||||
/VRChat_((\d{3,})x(\d{3,})_(\d{4})-(\d{2})-(\d{2})_(\d{2})-(\d{2})-(\d{2})\.(\d{1,})|(\d{4})-(\d{2})-(\d{2})_(\d{2})-(\d{2})-(\d{2})\.(\d{3})_(\d{3,})x(\d{3,}))/
|
||||
);
|
||||
if (regex) {
|
||||
|
||||
Reference in New Issue
Block a user