mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-07 17:59:02 +00:00
Merge pull request #17919 from dreis2211
* gh-17919: Correct WebFlux response body method Closes gh-17919
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ public abstract class AbstractErrorWebExceptionHandler implements ErrorWebExcept
|
||||
}
|
||||
Resource resource = resolveResource(viewName);
|
||||
if (resource != null) {
|
||||
return responseBody.bodyValue(BodyInserters.fromResource(resource));
|
||||
return responseBody.body(BodyInserters.fromResource(resource));
|
||||
}
|
||||
return Mono.empty();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user