Most appropriate sub-area of p5.js?
p5.js version
2.x
Web browser and version
Chrome
Operating system
MacOS
Steps to reproduce this
Steps:
- Upload a font to Amazon S3 without public read access
- Generate a signed URL to access the file with
- Try to load it with p5 2.x
That sounds pretty specific and contrived haha. But it turns out S3 doesn't let you generate signed URLs that work both with HEAD and with GET, it's one verb per method. Our font loading does both on the same URL so it means these kinds of resources will not be able to be loaded.
We could catch a failed HEAD and use a GET instead though.
Most appropriate sub-area of p5.js?
p5.js version
2.x
Web browser and version
Chrome
Operating system
MacOS
Steps to reproduce this
Steps:
That sounds pretty specific and contrived haha. But it turns out S3 doesn't let you generate signed URLs that work both with HEAD and with GET, it's one verb per method. Our font loading does both on the same URL so it means these kinds of resources will not be able to be loaded.
We could catch a failed HEAD and use a GET instead though.