From c0e2d43bef1d12b46f56925660a39eeb518ca3b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=AF=E8=BE=BE=E9=B8=AD?= Date: Wed, 12 Feb 2025 00:34:41 +0800 Subject: [PATCH] Update cache.js --- util/cache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/cache.js b/util/cache.js index 482a81b..0fe0572 100644 --- a/util/cache.js +++ b/util/cache.js @@ -8,7 +8,7 @@ export class Cache { constructor(p = {}) { this._db = p.db - this._type = p.db.type || 'redis' + this._type = p.db.type || 'json' this._category = p.category || 'config' }