Skip to content

Commit 381cd43

Browse files
committed
fix java example for static file-system example
Updated the Java static file-system route example to match the corrent Kotlin example. Java read `Paths.get("static")` instead of the correct `Paths.get("www")` as in the Kotlin code example.
1 parent 480ec68 commit 381cd43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/asciidoc/static-files.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ supports classpath and file-system resources.
2929
[source, java, role="primary"]
3030
----
3131
{
32-
assets("/static/*", Paths.get("static")); <1>
32+
assets("/static/*", Paths.get("www")); <1>
3333
}
3434
----
3535

0 commit comments

Comments
 (0)