From a171057fd7222967074aa70173329064d6a5a2db Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Mon, 29 Jul 2024 12:34:10 +0300 Subject: [PATCH] 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 --- packages/core/types/src/common/config-module.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/core/types/src/common/config-module.ts b/packages/core/types/src/common/config-module.ts index 94c7277360..7540da0c54 100644 --- a/packages/core/types/src/common/config-module.ts +++ b/packages/core/types/src/common/config-module.ts @@ -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"