@lark-apaas/fullstack-nestjs-core 1.1.56-alpha.0 → 1.1.56-alpha.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.cjs +4 -5
- package/dist/index.js +4 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -36409,13 +36409,12 @@ var PlatformModule = class _PlatformModule {
|
|
|
36409
36409
|
],
|
|
36410
36410
|
useFactory: /* @__PURE__ */ __name((...args) => {
|
|
36411
36411
|
const appLogger = args[0];
|
|
36412
|
-
const
|
|
36413
|
-
|
|
36414
|
-
|
|
36415
|
-
appLogger.warn("SUDA_CACHE_URL is empty, falling back to built-in veFaaS test Redis. Set SUDA_CACHE_URL in production.", "PlatformModule");
|
|
36412
|
+
const connectionString = process.env.SUDA_CACHE_URL ?? "";
|
|
36413
|
+
if (!connectionString) {
|
|
36414
|
+
appLogger.warn("SUDA_CACHE_URL is empty, cache-service will be effectively disabled until it is set.", "PlatformModule");
|
|
36416
36415
|
}
|
|
36417
36416
|
return {
|
|
36418
|
-
connectionString
|
|
36417
|
+
connectionString,
|
|
36419
36418
|
connectionTokenFilePath: "/var/run/secrets/zti/credential"
|
|
36420
36419
|
};
|
|
36421
36420
|
}, "useFactory")
|
package/dist/index.js
CHANGED
|
@@ -36382,13 +36382,12 @@ var PlatformModule = class _PlatformModule {
|
|
|
36382
36382
|
],
|
|
36383
36383
|
useFactory: /* @__PURE__ */ __name((...args) => {
|
|
36384
36384
|
const appLogger = args[0];
|
|
36385
|
-
const
|
|
36386
|
-
|
|
36387
|
-
|
|
36388
|
-
appLogger.warn("SUDA_CACHE_URL is empty, falling back to built-in veFaaS test Redis. Set SUDA_CACHE_URL in production.", "PlatformModule");
|
|
36385
|
+
const connectionString = process.env.SUDA_CACHE_URL ?? "";
|
|
36386
|
+
if (!connectionString) {
|
|
36387
|
+
appLogger.warn("SUDA_CACHE_URL is empty, cache-service will be effectively disabled until it is set.", "PlatformModule");
|
|
36389
36388
|
}
|
|
36390
36389
|
return {
|
|
36391
|
-
connectionString
|
|
36390
|
+
connectionString,
|
|
36392
36391
|
connectionTokenFilePath: "/var/run/secrets/zti/credential"
|
|
36393
36392
|
};
|
|
36394
36393
|
}, "useFactory")
|