Skip to content

Add dynamic chrome options for lambda & non lambda

Compare
Choose a tag to compare
@neg4n neg4n released this 13 Sep 22:41
· 4 commits to main since this release
1e579a5

What's Changed

  • Add dynamic chrome options for lambda & non lambda by @neg4n in #42

Explanation

The next-api-og-image library was intended to be used only in cloud environments at the beginning. That is why it was not designed with mind of support for hosting on VPS / Dedicated servers. Recently, the #40 issue came up to the open and this was a opportunity to add support both server and serverless environments

From now on, the next-api-og-image should work out of the box both on server (with chrome installed) and serverless environments. This also means that testing the application using next-api-og-image locally with NODE_ENV set to production will no longer throw an error regarding chrome 🚀

Acknowledgements

Thanks to @guhyeon, @mvandergrift and @kamenskiyyyy for contributing to the issue development 🤗

Full Changelog: 4.2.1...4.2.2