Compare commits

..
3 Commits
Author SHA1 Message Date
xrain 56b0490d1e fix log color 2024-07-24 21:50:46 +08:00
xrain 45e19c3561 fix log color 2024-07-24 21:43:31 +08:00
xrain 04b2be1bb7 fix bug 2024-07-21 13:50:12 +08:00
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ public class SimApiStorage
/// <returns></returns> /// <returns></returns>
public string? GetPath(string? url) public string? GetPath(string? url)
{ {
return url?.Replace($"{Endpoint}/{Bucket}", string.Empty); return url?.Replace($"{Endpoint}/{Bucket}", string.Empty).Replace(ServeUrl,string.Empty);
} }
private void CheckPath(string path) private void CheckPath(string path)
+1
View File
@@ -30,5 +30,6 @@ public class SimApiLogger(string name) : ILogger
} }
Console.WriteLine(message); Console.WriteLine(message);
Console.ResetColor();
} }
} }