From a84531bebb4c97cdcc9b39a5478759cb09f7c686 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?DEZEIRAUD=20Ga=C3=ABtan?= Date: Thu, 11 Apr 2019 15:20:56 +0200 Subject: [PATCH] Fix warning --- .../SecurityHeaders+HeaderKey.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Sources/VaporSecurityHeaders/SecurityHeaders+HeaderKey.swift b/Sources/VaporSecurityHeaders/SecurityHeaders+HeaderKey.swift index dfd8f97..5ae644a 100644 --- a/Sources/VaporSecurityHeaders/SecurityHeaders+HeaderKey.swift +++ b/Sources/VaporSecurityHeaders/SecurityHeaders+HeaderKey.swift @@ -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") }