2
0
Эх сурвалжийг харах

Merge pull request #152 from christopherp/SEC-2800

SEC-2800 Documentation typo in class name
Rob Winch 10 жил өмнө
parent
commit
07124311da

+ 2 - 2
docs/manual/src/docs/asciidoc/index.adoc

@@ -3672,8 +3672,8 @@ public class WebSecurityConfig extends
     http
       // ...
       .headers()
-        .addHeaderWriter(new StaticHeaderWriter("X-Content-Security-Policy","default-src 'self'"))
-        .addHeaderWriter(new StaticHeaderWriter("X-WebKit-CSP","default-src 'self'"));
+        .addHeaderWriter(new StaticHeadersWriter("X-Content-Security-Policy","default-src 'self'"))
+        .addHeaderWriter(new StaticHeadersWriter("X-WebKit-CSP","default-src 'self'"));
   }
 }
 ----