@webqit/webflo 1.0.28 → 1.0.29
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/package.json
CHANGED
|
@@ -201,12 +201,12 @@ export class WebfloServer extends WebfloRuntime {
|
|
|
201
201
|
//this.#sdk.db = new ODBClient({ dialect: 'postgres' });
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
if (this.#cx.server.capabilities?.redis
|
|
204
|
+
if (this.#cx.server.capabilities?.redis) {
|
|
205
205
|
const { Redis } = await import('ioredis');
|
|
206
206
|
this.#sdk.redis = process.env[this.#cx.server.capabilities.redis_url_variable]
|
|
207
207
|
? new Redis(process.env[this.#cx.server.capabilities.redis_url_variable])
|
|
208
208
|
: new Redis;
|
|
209
|
-
console.log('Redis capabilities');
|
|
209
|
+
console.log('Redis capabilities', process.env[this.#cx.server.capabilities.redis_url_variable] ? 'with url' : '');
|
|
210
210
|
}
|
|
211
211
|
if (this.#cx.server.capabilities?.webpush) {
|
|
212
212
|
const { default: webpush } = await import('web-push');
|