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 authored and GitHub committed 2024-07-29 12:34:10 +03:00
1 parent 4017f91352
commit a171057fd7
1 file changed
+6
@@ -229,6 +229,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, it’s 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"
* module.exports = defineConfig({