mirror of
https://github.com/brianshea2/meshmap.net.git
synced 2024-11-09 23:24:09 -08:00
remove old mqtt topic prefix 2/c
This commit is contained in:
parent
f7fb45692c
commit
0072ee3bd2
|
@ -185,7 +185,7 @@ func main() {
|
|||
}
|
||||
// connect to MQTT
|
||||
client := &meshtastic.MQTTClient{
|
||||
TopicRegex: regexp.MustCompile(`/2/[ce]/[^/]+/![0-9a-f]+$|/2/map/$`),
|
||||
TopicRegex: regexp.MustCompile(`/2/e/[^/]+/![0-9a-f]+$|/2/map/$`),
|
||||
BlockCipher: meshtastic.NewBlockCipher(meshtastic.DefaultKey),
|
||||
MessageHandler: handleMessage,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue