aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/web/WebModule.java
diff options
context:
space:
mode:
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);