aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-09 17:09:52 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-09 17:09:52 -0700
commit29b5d05cfd66a9f51b7ce272c1fb07077bc715b2 (patch)
treef9e4df6f47fd3723fe972893ca34273aa9979432 /src/main/java/org/traccar/web
parent5b6bba55d960dcf4fc7721d1d2e75b950bb13809 (diff)
downloadtrackermap-server-29b5d05cfd66a9f51b7ce272c1fb07077bc715b2.tar.gz
trackermap-server-29b5d05cfd66a9f51b7ce272c1fb07077bc715b2.tar.bz2
trackermap-server-29b5d05cfd66a9f51b7ce272c1fb07077bc715b2.zip
Remove WebServer from context
Diffstat (limited to 'src/main/java/org/traccar/web')
-rw-r--r--src/main/java/org/traccar/web/WebServer.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/web/WebServer.java b/src/main/java/org/traccar/web/WebServer.java
index f1ee8fcb2..fdbfc1464 100644
--- a/src/main/java/org/traccar/web/WebServer.java
+++ b/src/main/java/org/traccar/web/WebServer.java
@@ -60,6 +60,7 @@ import org.traccar.api.security.SecurityRequestFilter;
import org.traccar.api.resource.ServerResource;
import org.traccar.config.Keys;
+import javax.inject.Inject;
import javax.servlet.DispatcherType;
import javax.servlet.ServletException;
import javax.servlet.SessionCookieConfig;
@@ -79,6 +80,7 @@ public class WebServer implements LifecycleObject {
private final Server server;
+ @Inject
public WebServer(Config config) {
String address = config.getString(Keys.WEB_ADDRESS);
int port = config.getInteger(Keys.WEB_PORT);