Skip to content

Conversation

@das-Abroxas
Copy link
Contributor

This resolves an issue with the mailing list subscription form that was failing to submit due to elusive errors, presumably caused by the combination of the ofetch library and the Bun JavaScript runtime. The fix involves replacing the ofetch library with JavaScript runtime's native fetch implementation for these specific requests, restoring the form's functionality.

Presumably due to the combination of the ofetch library and the Bun
JavaScript runtime the POST request failed with elusive errors. This
is solved by using the Bun native fetch implementation for the request.
@das-Abroxas das-Abroxas added the fix Provides a fix for an issue label Jul 11, 2024
@das-Abroxas das-Abroxas self-assigned this Jul 11, 2024
Copy link
Member

@St4NNi St4NNi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird issue, the intricacies between fetch and $fetch is really weird.

LGTM

@das-Abroxas das-Abroxas merged commit f039f70 into main Jul 11, 2024
@das-Abroxas das-Abroxas deleted the fix/mailing-list-registration branch July 11, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Provides a fix for an issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants