Trigger backend rebuild
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 6s
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 6s
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
const mongoose = require("mongoose");
|
const mongoose = require("mongoose");
|
||||||
|
|
||||||
|
// Test
|
||||||
const connectDB = async () => {
|
const connectDB = async () => {
|
||||||
try {
|
try {
|
||||||
await mongoose.connect(process.env.DB_URI);
|
await mongoose.connect(process.env.DB_URI);
|
||||||
|
|||||||
Reference in New Issue
Block a user