refactor(*): 稳定期治理 - 收敛核心架构、错误语义并修复跨项目数据竞态
This commit is contained in:
1 parent
bacd502f5c
commit
b5f3413ded
298 files changed
+12681
-26428
No files matched your search
@@ -244,7 +244,7 @@ func findTaskMediaPreview(value any, hint string) (string, string) {
|
||||
switch item := value.(type) {
|
||||
case string:
|
||||
text := strings.TrimSpace(item)
|
||||
if !strings.HasPrefix(text, "/api/resources/") && !strings.HasPrefix(text, "http://") && !strings.HasPrefix(text, "https://") {
|
||||
if !isResourceFileURL(text) && !strings.HasPrefix(text, "http://") && !strings.HasPrefix(text, "https://") {
|
||||
return "", ""
|
||||
}
|
||||
kind := hint
|
||||
|
||||
Reference in new issue
Block a user