Skip to content

Commit 6e019f9

Browse files
crewmanmudsnicoll
authored andcommitted
Correct method signature in code example
Closes gh-1887
1 parent d9d41b4 commit 6e019f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/asciidoc/web/webflux-functional.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ public class WebConfig implements WebFluxConfigurer {
335335
}
336336
337337
@Override
338-
default void addCorsMappings(CorsRegistry registry) {
338+
public void addCorsMappings(CorsRegistry registry) {
339339
// configure CORS...
340340
}
341341

0 commit comments

Comments
 (0)