Skip to content

Commit

Permalink
Drop Node.js 6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Sep 30, 2019
1 parent 5fc3d7e commit 802004b
Show file tree
Hide file tree
Showing 4 changed files with 1,063 additions and 738 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ git:
language: node_js

node_js:
- "6"
- "8"
- "10"
- "12"
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const staticify = (root, options) => {
defaultOptions.sendOptions.root = root;
defaultOptions.sendOptions.maxAge = defaultOptions.sendOptions.maxAge || MAX_AGE;

sendOptsNonVersioned = Object.assign({}, defaultOptions.sendOptions);
sendOptsNonVersioned = {...defaultOptions.sendOptions};
sendOptsNonVersioned.maxAge = defaultOptions.maxAgeNonHashed;

return defaultOptions;
Expand Down

0 comments on commit 802004b

Please sign in to comment.