diff --git a/src/index.js b/src/index.js index ce607ee..499c75f 100644 --- a/src/index.js +++ b/src/index.js @@ -26,7 +26,7 @@ const { // Inicia o banco de dados let connectionString = ""; -if (DATABASE_URL != "") { +if (DATABASE_URL != undefined) { connectionString = `${DATABASE_URL}`; } else { connectionString = `postgres://${DB_USER}:${DB_PASS}@${DB_HOST}:${DB_PORT}/${DB_NAME}`;