diff options
Diffstat (limited to 'src/org/traccar/BasePipelineFactory.java')
-rw-r--r-- | src/org/traccar/BasePipelineFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java index aa02fb817..d511af214 100644 --- a/src/org/traccar/BasePipelineFactory.java +++ b/src/org/traccar/BasePipelineFactory.java @@ -288,7 +288,7 @@ public abstract class BasePipelineFactory extends ChannelInitializer<Channel> { } if (Context.getConfig().getBoolean("forward.enable")) { - pipeline.addLast(new WebDataHandler( + pipeline.addLast(Main.getInjector().getInstance(WebDataHandler.Factory.class).create( Context.getConfig().getString("forward.url"), Context.getConfig().getBoolean("forward.json"))); } |