Use raw diff adjustment for diff adj table widget

This commit is contained in:
nymkappa
2022-07-09 12:35:17 +02:00
committed by softsimon
parent 4fa4088694
commit f4667c0892
2 changed files with 32 additions and 3 deletions

View File

@@ -734,7 +734,7 @@ class Routes {
public async $getDifficultyAdjustments(req: Request, res: Response) {
try {
const difficulty = await DifficultyAdjustmentsRepository.$getAdjustments(req.params.interval, true);
const difficulty = await DifficultyAdjustmentsRepository.$getRawAdjustments(req.params.interval, true);
res.header('Pragma', 'public');
res.header('Cache-control', 'public');
res.setHeader('Expires', new Date(Date.now() + 1000 * 300).toUTCString());