aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/web/WebModule.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-05-15 15:41:55 -0700
committerAnton Tananaev <anton@traccar.org>2023-05-15 15:41:55 -0700
commitd5717272c664b6e09408f31a8448c80a0f380ddb (patch)
treea1e4f34b30d33795fb8cc9b92b7802ad1e4707bb /src/main/java/org/traccar/web/WebModule.java
parent599abc3523b93f83281d44b109676b1b0ed602f5 (diff)
downloadtrackermap-server-d5717272c664b6e09408f31a8448c80a0f380ddb.tar.gz
trackermap-server-d5717272c664b6e09408f31a8448c80a0f380ddb.tar.bz2
trackermap-server-d5717272c664b6e09408f31a8448c80a0f380ddb.zip
Handle modern paths
Diffstat (limited to 'src/main/java/org/traccar/web/WebModule.java')
-rw-r--r--src/main/java/org/traccar/web/WebModule.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/web/WebModule.java b/src/main/java/org/traccar/web/WebModule.java
index f06abf0b5..a32a6f447 100644
--- a/src/main/java/org/traccar/web/WebModule.java
+++ b/src/main/java/org/traccar/web/WebModule.java
@@ -23,8 +23,7 @@ public class WebModule extends ServletModule {
@Override
protected void configureServlets() {
- filter("/").through(OverrideFilter.class);
- filter("/manifest.json").through(OverrideFilter.class);
+ filter("/*").through(OverrideFilter.class);
filter("/api/*").through(ThrottlingFilter.class);
filter("/api/media/*").through(MediaFilter.class);
serve("/api/socket").with(AsyncSocketServlet.class);