Skip to content

Commit

Permalink
Merge pull request #15 from Brouilles/master
Browse files Browse the repository at this point in the history
Fix warning - 'public' modifier is redundant for static property declared in a public extension
  • Loading branch information
0xTim authored Apr 12, 2019
2 parents beecf53 + a84531b commit 9a01ec1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Sources/VaporSecurityHeaders/SecurityHeaders+HeaderKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import Vapor

public extension HTTPHeaderName {

public static let contentSecurityPolicy = HTTPHeaderName("Content-Security-Policy")
public static let xXssProtection = HTTPHeaderName("X-XSS-Protection")
public static let xContentTypeOptions = HTTPHeaderName("X-Content-Type-Options")
public static let contentSecurityPolicyReportOnly = HTTPHeaderName("Content-Security-Policy-Report-Only")
public static let referrerPolicy = HTTPHeaderName("Referrer-Policy")
static let contentSecurityPolicy = HTTPHeaderName("Content-Security-Policy")
static let xXssProtection = HTTPHeaderName("X-XSS-Protection")
static let xContentTypeOptions = HTTPHeaderName("X-Content-Type-Options")
static let contentSecurityPolicyReportOnly = HTTPHeaderName("Content-Security-Policy-Report-Only")
static let referrerPolicy = HTTPHeaderName("Referrer-Policy")
}

0 comments on commit 9a01ec1

Please sign in to comment.