connectDB() called useRuntimeConfig() unconditionally — works inside the Nuxt/Nitro runtime but throws ReferenceError for standalone Node scripts (seed-members.js, seed-tags.js, etc.). CI exposed this when trying to run seed-all.js. Detect the auto-import and fall back to process.env when it's not available; preserves Nitro behavior. |
||
|---|---|---|
| .. | ||
| _archive/utils | ||
| api | ||
| config | ||
| emails | ||
| middleware | ||
| migrations | ||
| models | ||
| plugins | ||
| routes | ||
| utils | ||