Permalink
Browse files

Building with go 1.11.4 and adding XSS security

  • Loading branch information...
s32x committed Dec 20, 2018
1 parent 3600c92 commit 3d0873860a0cd5352ff62a2ff6ce2c123d9f0462
Showing with 2 additions and 1 deletion.
  1. +1 −1 .circleci/config.yml
  2. +1 −0 service/service.go
@@ -6,7 +6,7 @@ jobs:
- DOCKER_TAG: s32x/ipdata
- HEROKU_APP: ipdatainfo
docker:
- image: circleci/golang:1.11.3
- image: circleci/golang:1.11.4
steps:
- checkout
- run:
@@ -26,6 +26,7 @@ func Start(port, env string) {
e.Use(middleware.Logger())
e.Use(middleware.Recover())
e.Use(middleware.CORS())
e.Use(middleware.Secure())
e.Use(middleware.Gzip())

// Configure HTTP redirects and serve the web index if being hosted in prod

0 comments on commit 3d08738

Please sign in to comment.