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:
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`.
|
* 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.
|
* 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
|
* @example
|
||||||
* ```js title="medusa-config.js"
|
* ```js title="medusa-config.js"
|
||||||
* module.exports = defineConfig({
|
* module.exports = defineConfig({
|
||||||
|
|||||||
Reference in new issue
Block a user