Skip to content

Commit

Permalink
fix local db without ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Jun 12, 2024
1 parent 914e841 commit 8bb4a55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/config/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ module.exports = ({ env }) => {
database: env("DATABASE_NAME", "strapi"),
user: env("DATABASE_USERNAME", "strapi"),
password: env("DATABASE_PASSWORD", "strapi"),
ssl: {
ssl: env.bool("DATABASE_SSL", {
rejectUnauthorized: env.bool("DATABASE_SSL_SELF", false), // For self-signed certificates
},
}),
},
},
sqlite: {
Expand Down

0 comments on commit 8bb4a55

Please sign in to comment.