aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/web/WebServer.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-16 18:19:57 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-16 18:19:57 -0700
commitee9abd94265eb704b5f5dd2262f1a3460bbe2a8f (patch)
treed4362b6cf9b62ba952366a4eb6081fc576987e80 /src/main/java/org/traccar/web/WebServer.java
parent0de7889d5548ab16bc8dc31e8734dc48dd51d43d (diff)
downloadtrackermap-server-ee9abd94265eb704b5f5dd2262f1a3460bbe2a8f.tar.gz
trackermap-server-ee9abd94265eb704b5f5dd2262f1a3460bbe2a8f.tar.bz2
trackermap-server-ee9abd94265eb704b5f5dd2262f1a3460bbe2a8f.zip
Refactor config usage
Diffstat (limited to 'src/main/java/org/traccar/web/WebServer.java')
-rw-r--r--src/main/java/org/traccar/web/WebServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/web/WebServer.java b/src/main/java/org/traccar/web/WebServer.java
index d7276d21f..6c8a798b4 100644
--- a/src/main/java/org/traccar/web/WebServer.java
+++ b/src/main/java/org/traccar/web/WebServer.java
@@ -91,7 +91,7 @@ public class WebServer implements LifecycleObject {
initSessionConfig(servletHandler);
if (config.getBoolean(Keys.WEB_CONSOLE)) {
- servletHandler.addServlet(new ServletHolder(new ConsoleServlet()), "/console/*");
+ servletHandler.addServlet(new ServletHolder(new ConsoleServlet(config)), "/console/*");
}
initWebApp(servletHandler);