diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-01 10:48:14 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-01 10:48:14 +1300 |
commit | 416ea87605b13f329430fbbb6a4aa1c002086514 (patch) | |
tree | 16f693c9cec8df8967f12fe987387a81282064a2 /src/org/traccar/web | |
parent | ed7e73b5af4e4e84f3abd2dde73626f90de911bb (diff) | |
download | traccar-server-416ea87605b13f329430fbbb6a4aa1c002086514.tar.gz traccar-server-416ea87605b13f329430fbbb6a4aa1c002086514.tar.bz2 traccar-server-416ea87605b13f329430fbbb6a4aa1c002086514.zip |
Rename CORS response filter
Diffstat (limited to 'src/org/traccar/web')
-rw-r--r-- | src/org/traccar/web/WebServer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/web/WebServer.java b/src/org/traccar/web/WebServer.java index 675f4d489..5ea31b079 100644 --- a/src/org/traccar/web/WebServer.java +++ b/src/org/traccar/web/WebServer.java @@ -27,7 +27,7 @@ import org.eclipse.jetty.webapp.WebAppContext; import org.glassfish.jersey.server.ResourceConfig; import org.glassfish.jersey.servlet.ServletContainer; import org.traccar.Config; -import org.traccar.api.CORSResponseFilter; +import org.traccar.api.CorsResponseFilter; import org.traccar.api.SecurityRequestFilter; import org.traccar.helper.Log; @@ -134,7 +134,7 @@ public class WebServer { ResourceConfig resourceConfig = new ResourceConfig(); resourceConfig.packages("org.traccar.api"); resourceConfig.register(SecurityRequestFilter.class); - resourceConfig.register(CORSResponseFilter.class); + resourceConfig.register(CorsResponseFilter.class); ServletContextHandler servletHandler = new ServletContextHandler(ServletContextHandler.NO_SESSIONS); ServletHolder servletHolder = new ServletHolder(new ServletContainer(resourceConfig)); servletHandler.addServlet(servletHolder, "/rest/*"); |