aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/BasePipelineFactory.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-02-23 10:38:10 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-02-23 10:38:10 -0800
commitd338b1177bcc46bb1b1bad1d8a76d6008dfe2239 (patch)
treeb99a5d497656438e3807efee74655dc650d20c62 /src/org/traccar/BasePipelineFactory.java
parent53256c82683b82d69d72c5535527c99566a3188c (diff)
downloadtrackermap-server-d338b1177bcc46bb1b1bad1d8a76d6008dfe2239.tar.gz
trackermap-server-d338b1177bcc46bb1b1bad1d8a76d6008dfe2239.tar.bz2
trackermap-server-d338b1177bcc46bb1b1bad1d8a76d6008dfe2239.zip
Update web handler injection
Diffstat (limited to 'src/org/traccar/BasePipelineFactory.java')
-rw-r--r--src/org/traccar/BasePipelineFactory.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java
index 517b92bbf..f24841a22 100644
--- a/src/org/traccar/BasePipelineFactory.java
+++ b/src/org/traccar/BasePipelineFactory.java
@@ -316,10 +316,7 @@ public abstract class BasePipelineFactory extends ChannelInitializer<Channel> {
}
if (Context.getConfig().getBoolean("forward.enable")) {
- pipeline.addLast(Main.getInjector().getInstance(WebDataHandler.Factory.class).create(
- Context.getConfig().getString("forward.url"),
- Context.getConfig().getString("forward.header"),
- Context.getConfig().getBoolean("forward.json")));
+ pipeline.addLast(Main.getInjector().getInstance(WebDataHandler.class));
}
addHandlers(