diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-05-07 09:27:51 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-05-07 09:27:51 +0200 |
| commit | 1b980682ec71e9c1997747c440a6ad14e31beaf9 (patch) | |
| tree | 5d2a3a3b0d4b0db1d3b8798f96d880f6677fd219 /backend | |
| parent | 5da95f1afc4471af6f8636148dca41c11e0b9d1f (diff) | |
| download | brokentalents-1b980682ec71e9c1997747c440a6ad14e31beaf9.tar.gz brokentalents-1b980682ec71e9c1997747c440a6ad14e31beaf9.zip | |
add npm data update script and brief readme
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/config.js | 4 |
1 files changed, 2 insertions, 2 deletions
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`, }, }; |
