Skip to content

Commit dcdfbcc

Browse files
committed
Merge branch 'master' of github.com:ladjs/api
2 parents 6a772f5 + 87c64a4 commit dcdfbcc

File tree

3 files changed

+8
-16
lines changed

3 files changed

+8
-16
lines changed

index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,6 @@ class API {
127127
// security
128128
if (this.config.helmet) app.use(helmet(this.config.helmet));
129129

130-
// add Expect-CT header for cert transparency
131-
if (this.config.expectCT) app.use(helmet.expectCt(this.config.expectCT));
132-
133130
// remove trailing slashes
134131
app.use(removeTrailingSlashes());
135132

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@koa/router": "^8.0.5",
2424
"@ladjs/i18n": "^3.0.4",
2525
"@ladjs/redis": "^1.0.3",
26-
"@ladjs/shared-config": "^1.0.3",
26+
"@ladjs/shared-config": "^1.0.4",
2727
"@ladjs/store-ip-address": "^0.0.7",
2828
"boolean": "3.0.1",
2929
"cabin": "^6.1.0",

yarn.lock

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -531,10 +531,10 @@
531531
dependencies:
532532
ioredis "^4.14.0"
533533

534-
"@ladjs/shared-config@^1.0.3":
535-
version "1.0.3"
536-
resolved "https://registry.yarnpkg.com/@ladjs/shared-config/-/shared-config-1.0.3.tgz#930382c6e2e61abb0aec32fbace2adce3c64906c"
537-
integrity sha512-ZXemjUxYBZXZuRgrwpilwJTqTIulZr4+vFbM4U2/febUClVL9sZPR9/o1HuigZZ93jMJj8S/rihYQj9cbE3YNQ==
534+
"@ladjs/shared-config@^1.0.4":
535+
version "1.0.4"
536+
resolved "https://registry.yarnpkg.com/@ladjs/shared-config/-/shared-config-1.0.4.tgz#0221f70afddde6501026ed734a3ce1a778a37f48"
537+
integrity sha512-EMrgoLUY1EGqIaAR75wHBjMzrfG3fGdAakzUJ8SUrAWPrk3sbgtAfP2Abz7+6udiyVTQdnk4KNKSR3fXIjXeng==
538538
dependencies:
539539
boolean "^3.0.1"
540540
is-string-and-not-blank "^0.0.2"
@@ -2498,9 +2498,9 @@ eslint-plugin-node@^10.0.0:
24982498
semver "^6.1.0"
24992499

25002500
eslint-plugin-prettier@^3.1.1:
2501-
version "3.1.2"
2502-
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.2.tgz#432e5a667666ab84ce72f945c72f77d996a5c9ba"
2503-
integrity sha512-GlolCC9y3XZfv3RQfwGew7NnuFDKsfI4lbvRK+PIIo23SFH+LemGs4cKwzAaRa+Mdb+lQO/STaIayno8T5sJJA==
2501+
version "3.1.3"
2502+
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.3.tgz#ae116a0fc0e598fdae48743a4430903de5b4e6ca"
2503+
integrity sha512-+HG5jmu/dN3ZV3T6eCD7a4BlAySdN7mLIbJYo0z1cFQuI+r2DiTJEFeF68ots93PsnrMxbzIZ2S/ieX+mkrBeQ==
25042504
dependencies:
25052505
prettier-linter-helpers "^1.0.0"
25062506

@@ -4406,11 +4406,6 @@ koa-etag@^3.0.0:
44064406
etag "^1.3.0"
44074407
mz "^2.1.0"
44084408

4409-
koa-expect-ct@^0.0.1:
4410-
version "0.0.1"
4411-
resolved "https://registry.yarnpkg.com/koa-expect-ct/-/koa-expect-ct-0.0.1.tgz#fc1830625aaca56444d0dfded16c8264702b65d9"
4412-
integrity sha512-aeihB0sxvmyRIP/Mm4b25ZIu68YlLXp8/4F0GfDteZpFbweAJNsmTegpvS4Ae9swdz5IvTHF1dKxhuKIobMs2g==
4413-
44144409
koa-helmet@^5.2.0:
44154410
version "5.2.0"
44164411
resolved "https://registry.yarnpkg.com/koa-helmet/-/koa-helmet-5.2.0.tgz#6529f64dd4539261a9bb0a56e201e4976f0200f0"

0 commit comments

Comments
 (0)