@flowfuse/file-server 2.26.1 → 2.26.2-098b7ed-202601301223.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -71,7 +71,11 @@ module.exports = {
71
71
  } else if (dbOptions.dialect === 'postgres') {
72
72
  dbOptions.host = app.config.context.options.host || 'postgres'
73
73
  dbOptions.port = app.config.context.options.port || 5432
74
- dbOptions.ssl = app.config.context.options.ssl
74
+ if (app.config.context.options.ssl) {
75
+ dbOptions.dialectOptions = {
76
+ ssl: true
77
+ }
78
+ }
75
79
  dbOptions.username = app.config.context.options.username
76
80
  dbOptions.password = app.config.context.options.password
77
81
  dbOptions.database = app.config.context.options.database || 'ff-context'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowfuse/file-server",
3
- "version": "2.26.1",
3
+ "version": "2.26.2-098b7ed-202601301223.0",
4
4
  "description": "A basic Object Storage backend",
5
5
  "main": "index.js",
6
6
  "scripts": {