diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-09 17:09:52 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-09 17:09:52 -0700 |
commit | 29b5d05cfd66a9f51b7ce272c1fb07077bc715b2 (patch) | |
tree | f9e4df6f47fd3723fe972893ca34273aa9979432 /src/main/java/org/traccar/web | |
parent | 5b6bba55d960dcf4fc7721d1d2e75b950bb13809 (diff) | |
download | trackermap-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.java | 2 |
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); |