fix(X-Pack): 外观配置-上传svg无法展示 #13958
Some checks are pending
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
fit2cloud-chenyw 2024-12-13 10:56:37 +08:00 committed by dataeaseShu
parent fc432a1d3a
commit 2b461f1abe
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit cfed21c770bbd11f0a362369391ab7a39339b32b
Subproject commit ebcb9566ed4f15c9ca1cc66e0163cc6cecf01629

View File

@ -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);
}