🐛 Bug fixes and optimize image display

This commit is contained in:
2024-11-13 00:13:27 +08:00
parent 9851093a1e
commit 468d1377af
5 changed files with 43 additions and 83 deletions

View File

@ -100,7 +100,7 @@ class SnNetworkProvider {
}
String getAttachmentUrl(String ky) {
if (ky.startsWith("http://")) return ky;
if (ky.startsWith("http")) return ky;
return '${client.options.baseUrl}/cgi/uc/attachments/$ky';
}