changeset 100:f9ee715ee9e9

make relative URLs in static file end in / to prevent redirection.
author casties
date Wed, 11 Feb 2015 20:02:56 +0100
parents 199143c669e4
children 7268c3ca025b
files src/main/webapp/index.html
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/webapp/index.html	Wed Feb 11 19:09:17 2015 +0100
+++ b/src/main/webapp/index.html	Wed Feb 11 20:02:56 2015 +0100
@@ -13,8 +13,8 @@
   <h1>Annotation Server</h1>
   <h2>View public Annotations</h2>
   <ul>
-    <li><a href="tags">View tags</a></li>
-    <li><a href="annotationBrowser">All Annotations</a></li>
+    <li><a href="tags/">View tags</a></li>
+    <li><a href="annotationBrowser/">All Annotations</a></li>
   </ul>
   <!-- TODO: should be configurable
   <h2>View non-public Annotations with log-in</h2>
@@ -24,9 +24,9 @@
 -->
   <h2>Admin</h2>
   <ul>
-    <li><a href="annotations/groups">View and edit groups</a></li>
-    <li><a href="annotations/persons">View and edit persons</a></li>
-    <li><a href="annotations/annotations">View and edit annotations</a></li>
+    <li><a href="annotations/groups/">View and edit groups</a></li>
+    <li><a href="annotations/persons/">View and edit persons</a></li>
+    <li><a href="annotations/annotations/">View and edit annotations</a></li>
   </ul>
 </body>
 </html>