Route icon to favicon

This commit is contained in:
Archangel
2025-12-09 20:28:48 +01:00
parent 5c6ea28066
commit c64e112cb6
@@ -55,6 +55,11 @@ public class DatabaseImporter(
var bsgPath = $"/{newBasePath}/{filePathNoExtension}".Replace("\\", "/");
imageRouter.AddRoute(bsgPath, fileNameWithPath);
if (fileNameWithNoSPTPath.Contains("icon.ico"))
{
imageRouter.AddRoute("/favicon", fileNameWithPath);
}
}
}