Compare commits

..
1 Commits
Author SHA1 Message Date
xrain 15f74b6570 fix warning 2024-08-03 19:21:23 +08:00
+1 -1
View File
@@ -112,7 +112,7 @@ public class SimApiStorage
/// <param name="path"></param>
/// <returns></returns>
/// <exception cref="Exception"></exception>
public string FullUrl(string path)
public string? FullUrl(string? path)
{
if (string.IsNullOrEmpty(path)) return path;
if(path.StartsWith("http://") || path.StartsWith("https://")) return path;