refactor(media): 资源分发 - 统一资源访问策略与云存储重定向

This commit is contained in:
ddCat committed 2026-09-22 21:41:00 +08:00
1 parent af6633047c
commit 487c34bfeb
50 files changed
+2112 -1266

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ func TestResourceIDFromFileURL(t *testing.T) {
want string
}{
{"/api/resources/abc_123/file", "abc_123"},
{"https://host.example/api/resources/abc_123/file?proxy=1", "abc_123"},
{"https://host.example/api/resources/abc_123/file?variant=original", "abc_123"},
{"/api/projects/abc_123", ""},
{"", ""},
}