aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-03-16 07:45:22 -0700
committerAnton Tananaev <anton@traccar.org>2024-03-16 07:45:22 -0700
commitd66174fc5ee33998b5b3960336a47de3d2f00196 (patch)
tree77d0990023d82f30f795a3df4e5e2f3c0613d50f /src/main/java/org/traccar
parent40acf3bd81ca74684ebdba57357dc5b112559a69 (diff)
downloadtrackermap-server-d66174fc5ee33998b5b3960336a47de3d2f00196.tar.gz
trackermap-server-d66174fc5ee33998b5b3960336a47de3d2f00196.tar.bz2
trackermap-server-d66174fc5ee33998b5b3960336a47de3d2f00196.zip
Fix forwarding URL
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/forward/EventForwarderMqtt.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/forward/EventForwarderMqtt.java b/src/main/java/org/traccar/forward/EventForwarderMqtt.java
index ea075fc6c..7fee495ac 100644
--- a/src/main/java/org/traccar/forward/EventForwarderMqtt.java
+++ b/src/main/java/org/traccar/forward/EventForwarderMqtt.java
@@ -30,7 +30,7 @@ public class EventForwarderMqtt implements EventForwarder {
public EventForwarderMqtt(Config config, ObjectMapper objectMapper) {
this.topic = config.getString(Keys.EVENT_FORWARD_TOPIC);
- mqttClient = new MqttClient(config.getString(Keys.FORWARD_URL));
+ mqttClient = new MqttClient(config.getString(Keys.EVENT_FORWARD_URL));
this.objectMapper = objectMapper;
}