Compare commits

...
2 Commits
Author SHA1 Message Date
xrain a4bae0226e fix bug 2024-08-03 19:37:40 +08:00
xrain 15f74b6570 fix warning 2024-08-03 19:21:23 +08:00
3 changed files with 3 additions and 3 deletions
+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;
+1 -1
View File
@@ -52,7 +52,7 @@ public partial class Synapse
}
return Task.CompletedTask;
};
SubRpcServerTopic();
SubEventServerTopic();
}
private void SubEventServerTopic()
+1 -1
View File
@@ -93,7 +93,7 @@ public partial class Synapse
SubRpcServerTopic();
}
public void SubRpcServerTopic()
private void SubRpcServerTopic()
{
var rsSubOpts = MqttFactory.CreateSubscribeOptionsBuilder()
.WithTopicFilter(o =>