mirror of
https://gitee.com/ssssssss-team/magic-api.git
synced 2026-05-14 09:47:29 +08:00
♻️ configJs 接口增加 @ResponseBody 注解声明
Signed-off-by: lengleng <wangiegie@gmail.com>
This commit is contained in:
@@ -252,6 +252,7 @@ public class MagicWorkbenchController extends MagicController implements MagicEx
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/config-js")
|
||||
@ResponseBody
|
||||
@Valid(requireLogin = false)
|
||||
public void configJs(MagicHttpServletResponse response) throws IOException {
|
||||
response.setContentType("application/javascript");
|
||||
|
||||
Reference in New Issue
Block a user