修复代码错误哈哈哈
This commit is contained in:
@@ -1302,7 +1302,8 @@ app.get('/api/metrics/network-history', async (req, res) => {
|
||||
|
||||
if (force) {
|
||||
await cache.del(cacheKey);
|
||||
} else {
|
||||
}
|
||||
|
||||
const cached = await cache.get(cacheKey);
|
||||
if (cached) return res.json(cached);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user