@cadenza.io/service 2.2.1 → 2.2.2
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.
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2466,7 +2466,11 @@ var DatabaseController = class _DatabaseController {
|
|
|
2466
2466
|
host: process.env.DATABASE_ADDRESS ?? "localhost",
|
|
2467
2467
|
port: parseInt(process.env.DATABASE_PORT ?? "5432"),
|
|
2468
2468
|
database: "postgres",
|
|
2469
|
-
password: process.env.DATABASE_PASSWORD ?? "03gibnEF"
|
|
2469
|
+
password: process.env.DATABASE_PASSWORD ?? "03gibnEF",
|
|
2470
|
+
ssl: {
|
|
2471
|
+
rejectUnauthorized: false
|
|
2472
|
+
// ← This bypasses the chain validation error
|
|
2473
|
+
}
|
|
2470
2474
|
});
|
|
2471
2475
|
CadenzaService.createMetaRoutine(
|
|
2472
2476
|
"DatabaseServiceInit",
|
|
@@ -2498,7 +2502,11 @@ var DatabaseController = class _DatabaseController {
|
|
|
2498
2502
|
host: process.env.DATABASE_ADDRESS ?? "localhost",
|
|
2499
2503
|
port: parseInt(process.env.DATABASE_PORT ?? "5432"),
|
|
2500
2504
|
database: databaseName,
|
|
2501
|
-
password: process.env.DATABASE_PASSWORD ?? "03gibnEF"
|
|
2505
|
+
password: process.env.DATABASE_PASSWORD ?? "03gibnEF",
|
|
2506
|
+
ssl: {
|
|
2507
|
+
rejectUnauthorized: false
|
|
2508
|
+
// ← This bypasses the chain validation error
|
|
2509
|
+
}
|
|
2502
2510
|
});
|
|
2503
2511
|
this.databaseName = databaseName;
|
|
2504
2512
|
return true;
|