mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
solve metadata.fileName being undefined
This commit is contained in:
@@ -510,7 +510,7 @@
|
|||||||
|
|
||||||
D.metadata = metadata;
|
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,}))/
|
/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) {
|
if (regex) {
|
||||||
|
|||||||
Reference in New Issue
Block a user