Skip to content

Commit

Permalink
chore: regex checks out, thanks rabbit
Browse files Browse the repository at this point in the history
  • Loading branch information
SlayerOrnstein committed Oct 20, 2024
1 parent 92f08a3 commit 6d00787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ class Build {
const imageBase = manifest.find((i) => i.uniqueName === item.uniqueName);
if (!imageBase) return;
const imageStub = imageBase.textureLocation.replace(/\\/g, '/').replace('xport/', '');
const imageHash = imageStub.match(/!00_([\w\d\S]+)/);
const imageHash = imageStub.match(/!00_([\S]+)/);
const imageUrl = `https://content.warframe.com/PublicExport/${imageStub}`;
const basePath = fileURLToPath(new URL('../data/img/', import.meta.url));
const filePath = path.join(basePath, item.imageName);
Expand Down

0 comments on commit 6d00787

Please sign in to comment.