Skip to content
This repository has been archived by the owner on Oct 2, 2022. It is now read-only.

Commit

Permalink
Building with go 1.11.4 and adding XSS security
Browse files Browse the repository at this point in the history
  • Loading branch information
s32x committed Dec 20, 2018
1 parent 3600c92 commit 3d08738
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions service/service.go
Expand Up @@ -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
Expand Down

0 comments on commit 3d08738

Please sign in to comment.