chore(types): add a note about adding ssl_mode option to database URLs (#8324)

* chore(types): add a note about adding `ssl_mode` option to database URLs

* small fix
This commit is contained in:
Shahed Nasser
2024-07-29 12:34:10 +03:00
committed by GitHub
parent 4017f91352
commit a171057fd7
@@ -228,6 +228,12 @@ export type ProjectConfigOptions = {
*
* This is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`.
* During development, its recommended not to pass this option.
*
* :::note
*
* Make sure to add to the end of the database URL `?ssl_mode=disable` as well when disabling `rejectUnauthorized`.
*
* :::
*
* @example
* ```js title="medusa-config.js"