connect fn update

This commit is contained in:
tmshv committed 2019-08-01 17:10:50 +03:00
1 parent 43af2996bf
commit 0713bad871
14 files changed
+16 -26

No files matched your search

+1 -1
View File
@@ -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)