Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
add SSL for DB connection
Browse files Browse the repository at this point in the history
  • Loading branch information
gkorland committed Sep 12, 2023
1 parent 6537cdf commit e0e77bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/api/auth/[...nextauth]/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ const connection: DataSourceOptions = {
username: process.env.POSTGRES_USER as string,
password: process.env.POSTGRES_PASSWORD as string,
database: (process.env.POSTGRES_DATABASE || "falkordb") as string,
ssl: {
rejectUnauthorized: false,
requestCert: true,
},
}

const authOptions: AuthOptions = {
Expand Down

0 comments on commit e0e77bf

Please sign in to comment.