Skip to content

Commit 7a85ce9

Browse files
ngocnhan-tran1996bclozel
authored andcommitted
Remove obsolete code in Redirecting to a resource section
See gh-34103 Closes gh-36384 Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent e93e55b commit 7a85ce9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

framework-docs/modules/ROOT/pages/web/webmvc-functional.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,6 @@ Java::
836836
[source,java,indent=0,subs="verbatim,quotes"]
837837
----
838838
ClassPathResource index = new ClassPathResource("static/index.html");
839-
List<String> extensions = List.of("js", "css", "ico", "png", "jpg", "gif");
840839
RequestPredicate spaPredicate = path("/api/**").or(path("/error")).negate();
841840
RouterFunction<ServerResponse> redirectToIndex = route()
842841
.resource(spaPredicate, index)

0 commit comments

Comments
 (0)