diff --git a/.gitignore b/.gitignore index 382309e35fa84e894073c495ef2a83086dd5b310..25a2389ebf72c200fa912829ec8e6bdbdf2992ff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .vscode node_modules -.env \ No newline at end of file +.env +config.json \ No newline at end of file diff --git a/config.json b/config.json deleted file mode 100644 index 90f1e28dce018f05580ea6fe81a44be6ee0f3200..0000000000000000000000000000000000000000 --- a/config.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "timeout": 10000, - "port": 3000, - "host": "0.0.0.0", - "width": 1000, - "height": 1000, - "reqHeaders": {}, - "cache": "filesystem", - "cacheConfig": { - "cacheDurationMinutes": 1440, - "cacheMaxEntries": 1000, - "snapshotDir": "/cache" - }, - "renderOnly": [ - "https://data.grandlyon.com", - "https://preprod.data.grandlyon.com", - "https://portail-dev.grandlyon.neogeo.fr" - ], - "closeBrowserdefault": false, - "restrictedUrlPatterndefault": null -} diff --git a/config.json.template b/config.json.template index 1b0a358a5f7b460e243475c10c860488f1ea5891..c940e9c7520a1ddd3a6c6dd5c36b5cab493f4f26 100644 --- a/config.json.template +++ b/config.json.template @@ -7,7 +7,7 @@ "reqHeaders": {}, "cache": "filesystem", "cacheConfig": { - "cacheDurationMinutes": 86400, + "cacheDurationMinutes": 1440, "cacheMaxEntries": 1000, "snapshotDir": "/cache" },