Fixes before Release (#2251)

* Removed console.logs

* Removed console.log() from app

* Fixed a bug where when a user adds their own favicon to their folder, the check could fail as the www. wasn't being stripped.

* Don't fail series metadata update if we can't cleanup due to another update taking place (common with komf)
This commit is contained in:
Joe Milazzo 2023-09-02 10:02:25 -07:00 committed by GitHub
parent d7b97d2d93
commit 1895a83033
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 13 additions and 83 deletions

View file

@ -420,7 +420,7 @@ public class ImageService : IImageService
public static string GetWebLinkFormat(string url, EncodeFormat encodeFormat)
{
return $"{new Uri(url).Host}{encodeFormat.GetExtension()}";
return $"{new Uri(url).Host.Replace("www.", string.Empty)}{encodeFormat.GetExtension()}";
}