aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/web/WebModule.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-05-15 12:06:14 -0700
committerAnton Tananaev <anton@traccar.org>2023-05-15 12:06:14 -0700
commite44e9f860b11a50b3e39e3895ea9ea5624282b78 (patch)
tree1fffb07d2b006243bf8f86e9f3c2cc0a25d20a6b /src/main/java/org/traccar/web/WebModule.java
parent553527d9fbe689be243acbf219bed432f15c25e3 (diff)
downloadtrackermap-server-e44e9f860b11a50b3e39e3895ea9ea5624282b78.tar.gz
trackermap-server-e44e9f860b11a50b3e39e3895ea9ea5624282b78.tar.bz2
trackermap-server-e44e9f860b11a50b3e39e3895ea9ea5624282b78.zip
Add HTML branding overrides
Diffstat (limited to 'src/main/java/org/traccar/web/WebModule.java')
-rw-r--r--src/main/java/org/traccar/web/WebModule.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/web/WebModule.java b/src/main/java/org/traccar/web/WebModule.java
index 0722c5d1e..f06abf0b5 100644
--- a/src/main/java/org/traccar/web/WebModule.java
+++ b/src/main/java/org/traccar/web/WebModule.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2022 Anton Tananaev (anton@traccar.org)
+ * Copyright 2022 - 2023 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,6 +23,8 @@ public class WebModule extends ServletModule {
@Override
protected void configureServlets() {
+ filter("/").through(OverrideFilter.class);
+ filter("/manifest.json").through(OverrideFilter.class);
filter("/api/*").through(ThrottlingFilter.class);
filter("/api/media/*").through(MediaFilter.class);
serve("/api/socket").with(AsyncSocketServlet.class);