Is there a way to set default options? #289
Unanswered
thepuzzlemaster
asked this question in
Q&A
Replies: 1 comment
-
The suggested way to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm curious if there is a way to set an option that is used by default in all
getPage
calls, unless overwritten by an explicit option value passed in.My use-case is that I'd like all my
getPage
calls to use the same.env.local
file for pulling in my environment variables. But it seems redundant to have to add that into every call togetPage
. I didn't see anything in the docs to indicate something like this is supported.Does this exist? And if not, any reason it couldn't be added?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions