Tweak the pattern for S3 asset URLs
Dice makes a good point! This is slightly clearer about what the valid set of sizes are! Why the hell not be slightly clearer! :3
This commit is contained in:
parent
c608f01a7a
commit
7373a46bd7
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ import getVisibleLayers, {
|
||||||
// of the following patterns:
|
// of the following patterns:
|
||||||
const VALID_LAYER_URLS = [
|
const VALID_LAYER_URLS = [
|
||||||
// Some layers are converted from SWF to PNG by Classic DTI, living on S3.
|
// Some layers are converted from SWF to PNG by Classic DTI, living on S3.
|
||||||
/^https:\/\/(impress-asset-images\.openneo\.net|impress-asset-images\.s3\.amazonaws\.com)\/(biology|object)\/[0-9]{3}\/[0-9]{3}\/[0-9]{3}\/[0-9]+\/(150|300|600)x(150|300|600)\.png(\?[a-zA-Z0-9_-]+)?$/,
|
/^https:\/\/(impress-asset-images\.openneo\.net|impress-asset-images\.s3\.amazonaws\.com)\/(biology|object)\/[0-9]{3}\/[0-9]{3}\/[0-9]{3}\/[0-9]+\/(150x150|300x300|600x600)\.png(\?[a-zA-Z0-9_-]+)?$/,
|
||||||
|
|
||||||
// Some layers are converted to PNG or SVG by Neopets themselves, extracted
|
// Some layers are converted to PNG or SVG by Neopets themselves, extracted
|
||||||
// from the manifest file.
|
// from the manifest file.
|
||||||
|
|
Loading…
Reference in a new issue