[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [metrics-web/release] Adds a servlet mapping for RelaySearchServlet (See: #25258)



commit e1035d8af074797c37bc5acc276a59a1c795ee8d
Author: Iain R. Learmonth <irl@xxxxxxxx>
Date:   Thu Feb 15 13:01:32 2018 +0000

    Adds a servlet mapping for RelaySearchServlet (See: #25258)
---
 src/main/resources/web.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/main/resources/web.xml b/src/main/resources/web.xml
index e6e6a69..99df1db 100644
--- a/src/main/resources/web.xml
+++ b/src/main/resources/web.xml
@@ -324,6 +324,17 @@
     <url-pattern>/research.html</url-pattern>
   </servlet-mapping>
 
+  <servlet>
+    <servlet-name>RelaySearch</servlet-name>
+    <servlet-class>
+      org.torproject.metrics.web.RelaySearchServlet
+    </servlet-class>
+  </servlet>
+  <servlet-mapping>
+    <servlet-name>RelaySearch</servlet-name>
+    <url-pattern>/rs.html</url-pattern>
+  </servlet-mapping>
+
   <welcome-file-list>
     <welcome-file>index.html</welcome-file>
   </welcome-file-list>



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits