aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/MainModule.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-12-29 22:32:00 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-12-29 22:32:00 -0800
commitbdb4aea7ddb7f525d5c476077a88d905d261fdb8 (patch)
treecfa8352aab61762644ece9f01b7997c05b4a19a4 /src/main/java/org/traccar/MainModule.java
parent8fe1e679935688676f7139bb9ed6dc61838d0e2f (diff)
downloadtrackermap-server-bdb4aea7ddb7f525d5c476077a88d905d261fdb8.tar.gz
trackermap-server-bdb4aea7ddb7f525d5c476077a88d905d261fdb8.tar.bz2
trackermap-server-bdb4aea7ddb7f525d5c476077a88d905d261fdb8.zip
Migrate more keys
Diffstat (limited to 'src/main/java/org/traccar/MainModule.java')
-rw-r--r--src/main/java/org/traccar/MainModule.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/MainModule.java b/src/main/java/org/traccar/MainModule.java
index e751cb453..77f0c89d1 100644
--- a/src/main/java/org/traccar/MainModule.java
+++ b/src/main/java/org/traccar/MainModule.java
@@ -264,7 +264,7 @@ public class MainModule extends AbstractModule {
@Provides
public static WebDataHandler provideWebDataHandler(
Config config, IdentityManager identityManager, ObjectMapper objectMapper, Client client) {
- if (config.getBoolean(Keys.FORWARD_ENABLE)) {
+ if (config.hasKey(Keys.FORWARD_URL)) {
return new WebDataHandler(config, identityManager, objectMapper, client);
}
return null;