We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a825a6 commit 0616306Copy full SHA for 0616306
src/main/java/ru/mystamps/web/support/spring/security/SecurityConfig.java
@@ -161,10 +161,11 @@ protected void configure(HttpSecurity http) throws Exception {
161
// FIXME: GH #27
162
.disable()
163
)
164
- .headers()
+ .headers(headers -> headers
165
.defaultsDisabled() // FIXME
166
// @todo #1161 Add Feature-Policy header
167
- .addHeaderWriter(cspWriter);
+ .addHeaderWriter(cspWriter)
168
+ );
169
}
170
171
// Used in AccountConfig.Services.userService()
0 commit comments