Skip to content

Commit

Permalink
chore(deps): Bumping httputils
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Jan 24, 2022
1 parent 1bc1088 commit fe4353c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Usage of ketchup:
-corsOrigin string
[cors] Access-Control-Allow-Origin {KETCHUP_CORS_ORIGIN} (default "*")
-csp string
[owasp] Content-Security-Policy {KETCHUP_CSP} (default "default-src 'self'; base-uri 'self'; script-src 'self' 'nonce'; style-src 'self' 'nonce'")
[owasp] Content-Security-Policy {KETCHUP_CSP} (default "default-src 'self'; base-uri 'self'; script-src 'self' 'httputils-nonce'; style-src 'self' 'httputils-nonce'")
-dbHost string
[db] Host {KETCHUP_DB_HOST}
-dbMaxConn uint
Expand Down
2 changes: 1 addition & 1 deletion cmd/ketchup/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func main() {
alcotestConfig := alcotest.Flags(fs, "")
loggerConfig := logger.Flags(fs, "logger")
prometheusConfig := prometheus.Flags(fs, "prometheus", flags.NewOverride("Gzip", false))
owaspConfig := owasp.Flags(fs, "", flags.NewOverride("Csp", "default-src 'self'; base-uri 'self'; script-src 'self' 'nonce'; style-src 'self' 'nonce'"))
owaspConfig := owasp.Flags(fs, "", flags.NewOverride("Csp", "default-src 'self'; base-uri 'self'; script-src 'self' 'httputils-nonce'; style-src 'self' 'httputils-nonce'"))
corsConfig := cors.Flags(fs, "cors")
rendererConfig := renderer.Flags(fs, "", flags.NewOverride("Title", "Ketchup"), flags.NewOverride("PublicURL", "https://ketchup.vibioh.fr"))

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.17
require (
github.com/ViBiOh/auth/v2 v2.11.35
github.com/ViBiOh/flags v0.0.1
github.com/ViBiOh/httputils/v4 v4.34.5
github.com/ViBiOh/httputils/v4 v4.34.6
github.com/ViBiOh/mailer v1.27.10
github.com/golang/mock v1.6.0
github.com/jackc/pgconn v1.10.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ github.com/ViBiOh/auth/v2 v2.11.35 h1:nMM7f15QXvO1NPuypU32UakDzCAitzcy0OKEonENh/
github.com/ViBiOh/auth/v2 v2.11.35/go.mod h1:tiYF2SMsuBC4FxpGy23UkY7IcxcKk11vFE5CwAoB6UQ=
github.com/ViBiOh/flags v0.0.1 h1:S6oBYVimXiUSXBc5NlgvXUcfcr8u5sJSaoxYnEbm7RM=
github.com/ViBiOh/flags v0.0.1/go.mod h1:3b6jZJblDDYDXKgGdsIT6ogEVKU8+7DDUBq08CLI5Ws=
github.com/ViBiOh/httputils/v4 v4.34.5 h1:uJ6ab4z2pSS2oCv5b0rVZBrnh4DO0+ZFWZB0jIbRCMU=
github.com/ViBiOh/httputils/v4 v4.34.5/go.mod h1:LCF8FfjYmXgubliyj3kSwR5j2m0ZoCYcR+zcG7SptuI=
github.com/ViBiOh/httputils/v4 v4.34.6 h1:F2vZIoDwAHshtzGDGIElEQsz+YA7WSLDafrnE5jQSWY=
github.com/ViBiOh/httputils/v4 v4.34.6/go.mod h1:LCF8FfjYmXgubliyj3kSwR5j2m0ZoCYcR+zcG7SptuI=
github.com/ViBiOh/mailer v1.27.10 h1:gVh+KoE/F++5m7HiY1kxJArrh1LlWDMUURBUzeexG74=
github.com/ViBiOh/mailer v1.27.10/go.mod h1:YS3u/rY1Ip97LGDPRQjdwqz4jGFAZUTlpKwHT8LNFLE=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
Expand Down

0 comments on commit fe4353c

Please sign in to comment.