aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/BasePipelineFactory.java
diff options
context:
space:
mode:
authornativbarak <nativ@globekeeper.com>2018-02-04 15:31:10 +0200
committernativbarak <nativ@globekeeper.com>2018-02-04 15:31:10 +0200
commit377a2234ef8c25c54c22acf9db36d102347e0ad4 (patch)
treec2d26c198e6292e8559148a587de3b5de5fd873f /src/org/traccar/BasePipelineFactory.java
parent654116f06161a6f73d23a6bb610f5420cebfdfc9 (diff)
downloadtrackermap-server-377a2234ef8c25c54c22acf9db36d102347e0ad4.tar.gz
trackermap-server-377a2234ef8c25c54c22acf9db36d102347e0ad4.tar.bz2
trackermap-server-377a2234ef8c25c54c22acf9db36d102347e0ad4.zip
added POST option to forward url
Diffstat (limited to 'src/org/traccar/BasePipelineFactory.java')
-rw-r--r--src/org/traccar/BasePipelineFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java
index aa188d209..e8034779d 100644
--- a/src/org/traccar/BasePipelineFactory.java
+++ b/src/org/traccar/BasePipelineFactory.java
@@ -238,7 +238,7 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory {
}
if (Context.getConfig().getBoolean("forward.enable")) {
- pipeline.addLast("webHandler", new WebDataHandler(Context.getConfig().getString("forward.url")));
+ pipeline.addLast("webHandler", new WebDataHandler(Context.getConfig().getString("forward.url"), Context.getConfig().getBoolean("forward.json")));
}
if (commandResultEventHandler != null) {