Skip to content

Commit

Permalink
Updating readme with correct sinatra config
Browse files Browse the repository at this point in the history
  • Loading branch information
mccabe615 committed Jan 10, 2016
1 parent 6212b26 commit 8837a13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**The 3.x branch was recently merged**. See the [upgrading to 3.x doc](upgrading-to-3-0.md) for instructions on how to upgrade including the differences and benefits of using the 3.x branch.

**The [2.x branch](https://github.com/twitter/secureheaders/tree/2.x) will be maintained**. The documentation below only applies to the 2.x branch. See the 2.x [README](https://github.com/twitter/secureheaders/blob/2.x/README.md) for the old way of doing things.
**The [2.x branch](https://github.com/twitter/secureheaders/tree/2.x) will be maintained**. The documentation below only applies to the 3.x branch. See the 2.x [README](https://github.com/twitter/secureheaders/blob/2.x/README.md) for the old way of doing things.

The gem will automatically apply several headers that are related to security. This includes:
- Content Security Policy (CSP) - Helps detect/prevent XSS, mixed-content, and other classes of attack. [CSP 2 Specification](http://www.w3.org/TR/CSP2/)
Expand Down Expand Up @@ -269,7 +269,7 @@ require 'secure_headers'
use SecureHeaders::Middleware
SecureHeaders::Configuration.configure do |config|
SecureHeaders::Configuration.default do |config|
...
end
Expand Down

0 comments on commit 8837a13

Please sign in to comment.