How to execute a function at nitro start and export a client I can use in other files #1425
-
I need to start a puppeteer client at nitro startup and import the client in API routes where I need to use it. How do I archive this? I tried to set the function outside the |
Beta Was this translation helpful? Give feedback.
Answered by
learntheropes
Jul 14, 2023
Replies: 1 comment
-
Resolved with a plugin |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Hebilicious
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Resolved with a plugin