You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now lnbits can't be used in a cloudflare worker, because cloudflare workers can only use fetch to interact. We can use @vespaiach/axios-fetch-adapter if only we could pass it in. It looks like all the primary source files should be updated to allow passing in the adapter, or probably more general axios config overrides.
My current workaround is to monkey patch the adapter in. Eg:
Right now lnbits can't be used in a cloudflare worker, because cloudflare workers can only use
fetch
to interact. We can use@vespaiach/axios-fetch-adapter
if only we could pass it in. It looks like all the primary source files should be updated to allow passing in the adapter, or probably more general axios config overrides.My current workaround is to monkey patch the adapter in. Eg:
The text was updated successfully, but these errors were encountered: