Skip to content

Commit 4222f27

Browse files
authored
fix: exclude resource/download ssoInterceptor (opentiny#289)
1 parent e57d8cc commit 4222f27

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

base/src/main/java/com/tinyengine/it/login/config/LoginConfig.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ public void addInterceptors(InterceptorRegistry registry) {
4242
"/platform-center/api/user/forgot-password",
4343
// AI
4444
"/app-center/api/ai/chat",
45-
"/app-center/api/chat/completions"
45+
"/app-center/api/chat/completions",
46+
// 图片文件资源下载
47+
"/material-center/api/resource/download/*"
4648
);
4749
}
4850
}

0 commit comments

Comments
 (0)