Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(#23): Pass in a custom fetching function rather than a URL #32

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

doug-wade
Copy link
Contributor

@doug-wade doug-wade commented Jul 10, 2023

I added support for both async functions and promises as the first argument, rather than a url. You can find an example usage here.

Addresses #23

eleventy-fetch.js Show resolved Hide resolved
eleventy-fetch.js Show resolved Hide resolved
@zachleat zachleat self-assigned this Oct 22, 2024
@zachleat zachleat merged commit e45f7c2 into 11ty:master Oct 22, 2024
@zachleat zachleat added this to the Eleventy Fetch v5.0.0 milestone Oct 22, 2024
@zachleat
Copy link
Member

Merged, thank you!

@zachleat
Copy link
Member

zachleat commented Nov 8, 2024

Just info: minor issue with this one, fixed in #52!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants