@apolitical/server 2.8.1 → 2.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.8.2] - 2022-11-17
9
+ ### Removed
10
+ - ETag header on static files to avoid cache mismatching
11
+
8
12
  ## [2.8.1] - 2022-11-15
9
13
  ### Fixed
10
14
  - Cache control types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/server",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "description": "Node.js module to encapsulate Apolitical's express server setup",
5
5
  "author": "Apolitical Group Limited <engineering@apolitical.co>",
6
6
  "license": "MIT",
package/src/config.js CHANGED
@@ -65,6 +65,7 @@ module.exports = {
65
65
  },
66
66
  STATIC_FILES: {
67
67
  OPTIONS: {
68
+ etag: false,
68
69
  index: false,
69
70
  maxAge: '1y',
70
71
  },