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:
@@ -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, 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"
|
||||
|
||||
Reference in New Issue
Block a user