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.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/web/WebModule.java b/src/main/java/org/traccar/web/WebModule.java
index 6c133ff74..0722c5d1e 100644
--- a/src/main/java/org/traccar/web/WebModule.java
+++ b/src/main/java/org/traccar/web/WebModule.java
@@ -23,6 +23,7 @@ public class WebModule extends ServletModule {
@Override
protected void configureServlets() {
+ filter("/api/*").through(ThrottlingFilter.class);
filter("/api/media/*").through(MediaFilter.class);
serve("/api/socket").with(AsyncSocketServlet.class);
}