mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix(X-Pack): 外观配置-上传svg无法展示 #13958
This commit is contained in:
committed by
dataeaseShu
parent
fc432a1d3a
commit
2b461f1abe
@@ -19,6 +19,6 @@ public interface XpackAppearanceApi {
|
||||
@GetMapping("/query")
|
||||
List<AppearanceItemVO> query();
|
||||
|
||||
@GetMapping(value = "/image/{imageId}", produces = {MediaType.IMAGE_JPEG_VALUE, MediaType.IMAGE_PNG_VALUE})
|
||||
@GetMapping(value = "/image/{imageId}", produces = {MediaType.IMAGE_JPEG_VALUE, MediaType.IMAGE_PNG_VALUE, "image/svg+xml"})
|
||||
ResponseEntity<byte[]> image(@PathVariable("imageId") String imageId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user