remove external

This commit is contained in:
2024-10-15 19:26:51 +08:00
parent 175e685480
commit 42e32adf86
2 changed files with 4 additions and 2 deletions

View File

@@ -63,7 +63,9 @@ app
})
.define(async (ctx) => {
const keys = await redis.keys('user:app:*');
await redis.del(...keys);
if (keys.length > 0) {
await redis.del(...keys);
}
fs.rmSync(fileStore, { recursive: true });
ctx.body = {