Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a4bae0226e | ||
|
|
15f74b6570 |
@@ -112,7 +112,7 @@ public class SimApiStorage
|
|||||||
/// <param name="path"></param>
|
/// <param name="path"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
/// <exception cref="Exception"></exception>
|
/// <exception cref="Exception"></exception>
|
||||||
public string FullUrl(string path)
|
public string? FullUrl(string? path)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(path)) return path;
|
if (string.IsNullOrEmpty(path)) return path;
|
||||||
if(path.StartsWith("http://") || path.StartsWith("https://")) return path;
|
if(path.StartsWith("http://") || path.StartsWith("https://")) return path;
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ public partial class Synapse
|
|||||||
}
|
}
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
};
|
};
|
||||||
SubRpcServerTopic();
|
SubEventServerTopic();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SubEventServerTopic()
|
private void SubEventServerTopic()
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ public partial class Synapse
|
|||||||
SubRpcServerTopic();
|
SubRpcServerTopic();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SubRpcServerTopic()
|
private void SubRpcServerTopic()
|
||||||
{
|
{
|
||||||
var rsSubOpts = MqttFactory.CreateSubscribeOptionsBuilder()
|
var rsSubOpts = MqttFactory.CreateSubscribeOptionsBuilder()
|
||||||
.WithTopicFilter(o =>
|
.WithTopicFilter(o =>
|
||||||
|
|||||||
Reference in New Issue
Block a user