Closed Kotlin-GDE closed 4 years ago
hi
add default resource with static content
defaultResource(path: String, resource: Resource)
its useful request url without specify any resource name (ex: HTTP://HOST:PORT in this case and if index.html is present in resource its automatic loaded to client as default response)
resources("/**", ClassPathResource("static/")) is already added for both WebFlux and WebMvc.
resources("/**", ClassPathResource("static/"))
hi
add default resource with static content
its useful request url without specify any resource name (ex: HTTP://HOST:PORT in this case and if index.html is present in resource its automatic loaded to client as default response)