From 1b980682ec71e9c1997747c440a6ad14e31beaf9 Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 7 May 2018 09:27:51 +0200 Subject: add npm data update script and brief readme --- backend/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend') diff --git a/backend/config.js b/backend/config.js index cecbe05..dc13956 100644 --- a/backend/config.js +++ b/backend/config.js @@ -54,7 +54,7 @@ module.exports = { sum: ['Level', 'Winner'], }, file: { - pattern: (moment) => `../data/${hashSettings(module.exports)}/${moment.toISOString()}.json`, - reportPattern: () => `../data/${hashSettings(module.exports)}/report.json`, + pattern: (moment) => `./data/${hashSettings(module.exports)}/${moment.toISOString()}.json`, + reportPattern: () => `./data/${hashSettings(module.exports)}/report.json`, }, }; -- cgit v1.3.1