AWS Amplify and database in nitro #3311
maciej-jezierski
started this conversation in
Help Wanted
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, on amazon amplify I had encounter an issue when I run database connection in nitro. As a result I got too many connections to datbase.
I've setup database connection within nitro plugin, but I think amplify is starting the server for each request it leads to an error. What is correct setup for this one?
`export default defineNitroPlugin(async (nitroApp) => {
const config = useRuntimeConfig()
})`
Beta Was this translation helpful? Give feedback.
All reactions