glenrobson / SimpleAnnotationServer

A simple IIIF and Mirador compatible Annotation Server
Apache License 2.0
97 stars 28 forks source link

Broken redirect on tomcat #79

Closed glenrobson closed 4 years ago

glenrobson commented 4 years ago

When SAS is deployed using Tomcat and isn't the root application the redirect is broken after you index a manifest. It currently redirects you to:

http://localhost:8888/search-api/46420221/search

but it should redirect you to:

http://localhost:8888/sas/search-api/46420221/search

This seems to work OK with http://localhost:8888/sas/listAnnos.xhtml