mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 20:49:00 +08:00
🐛 Fixing a bug. text 输出乱码问题
This commit is contained in:
1 parent
910739c090
commit
7083019d6b
1 file changed
+1
-1
+1
-1
@@ -46,7 +46,7 @@ public class RouterFunctionConfiguration {
|
||||
public RouterFunction routerFunction() {
|
||||
return RouterFunctions.route(
|
||||
RequestPredicates.path("/fallback")
|
||||
.and(RequestPredicates.accept(MediaType.TEXT_PLAIN)), hystrixFallbackHandler)
|
||||
.and(RequestPredicates.accept(MediaType.APPLICATION_JSON_UTF8)), hystrixFallbackHandler)
|
||||
.andRoute(RequestPredicates.GET("/code")
|
||||
.and(RequestPredicates.accept(MediaType.TEXT_PLAIN)), imageCodeHandler)
|
||||
.andRoute(RequestPredicates.GET("/swagger-resources")
|
||||
|
||||
Reference in new issue
Block a user