connect fn update
This commit is contained in:
1 parent
43af2996bf
commit
0713bad871
14 files changed
+16
-26
No files matched your search
+1
-1
@@ -11,7 +11,7 @@ const port = parseInt(process.env.PORT, 10) || 3000
|
||||
|
||||
app.prepare().then(async () => {
|
||||
try {
|
||||
await connect(process.env.DB_URI)
|
||||
await connect()
|
||||
} catch (e) {
|
||||
console.error(e.message)
|
||||
|
||||
|
||||
Reference in new issue
Block a user