Skip to content

Commit 9dd6b18

Browse files
committed
bugfix: httpHeader
1 parent 70faf44 commit 9dd6b18

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "netlify-plugin-11ty",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "A plugin to make building with Eleventy and Netlify a joy!",
55
"publishConfig": {
66
"access": "public"

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const getHttpHeaders = (inputs) => {
3232

3333
getCacheDirs__('.', inputs.cache_img).map((x) => {
3434
httpHeader += `
35-
${x}/*
35+
/${x}/*
3636
cache-control: public
3737
cache-control: max-age=31536000
3838
cache-control: immutable

0 commit comments

Comments
 (0)