Commit 4426f7ad29b344efc48a2b3f37bec60d9e319e13
1 parent
14146d94d9
Exists in
master
noCache on config
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
lib/control-panel/index.js
... | ... | @@ -24,7 +24,7 @@ const viewsDir = path.join(__dirname, 'views'); |
24 | 24 | nunjucks.configure(viewsDir, { |
25 | 25 | autoescape: true, |
26 | 26 | express: app, |
27 | - noCache: true, | |
27 | + noCache: config.sdk_supplier_product_quota && config.sdk_supplier_product_quota.no_cache, | |
28 | 28 | }); |
29 | 29 | |
30 | 30 | const staticDir = path.join(__dirname, 'public'); |