Closed SanderGo closed 1 year ago
Wonderful. Thank you.
Looks like we need to update the same thing for generating the Twitter image, on line 87. Not sure why it didn't cause trouble while testing before.
Want me to test and PR an update for it?
Ahh. Yes please :)
Changes proposed in this pull request:
As discussed in https://github.com/studio1902/statamic-peak-seo/discussions/16
It adds a check for s3 driver when saving Browsershot in the GenerateSocialImagesJob. When using s3 disk, it puts the screenshot. When using local driver it just saves the image like before.
Tested with a fresh install of Peak, using both local disk and s3 disk. Generated the social images in both cases as expected.