fix: add annotations route without verse slug

used when an annotation only includes special characters
This commit is contained in:
Solomon Victorino 2024-08-25 17:21:21 -06:00
parent c394301a86
commit e4768dfa88

View File

@ -32,6 +32,7 @@ func New(logger *utils.Logger, staticFiles static) *mux.Router {
{Path: "/images/{filename}.{ext}", Handler: imageProxy},
{Path: "/search", Handler: search},
{Path: "/{annotation-id}/{artist-song}/{verse}/annotations", Handler: annotations},
{Path: "/{annotation-id}/{artist-song}/annotations", Handler: annotations},
{Path: "/instances.json", Handler: instances},
}