a fork of iceshrimp.net but a tweaked frontend to my personal liking. waow
fediverse social-media social iceshrimp fedi
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[backend/core] Fix path-style object storage access URLs

+4 -1
+4 -1
Iceshrimp.Backend/Core/Services/ObjectStorageService.cs
··· 104 104 105 105 public Uri GetFilePublicUrl(string filename) 106 106 { 107 - var baseUri = new Uri(_accessUrl ?? throw new Exception("Invalid object storage access url")); 107 + var accessUrl = _accessUrl ?? throw new Exception("Invalid object storage access url"); 108 + if (!accessUrl.EndsWith('/')) 109 + accessUrl += '/'; 110 + var baseUri = new Uri(accessUrl); 108 111 return new Uri(baseUri, GetKeyWithPrefix(filename)); 109 112 } 110 113