From 144c65480110645c644409e2996bad7fc0f8db9b Mon Sep 17 00:00:00 2001
From: Claude
Date: Thu, 30 Apr 2026 15:40:27 +0000
Subject: [PATCH] fix: anchor API Docs link to base URL so it works behind
ingress prefixes
The raw href="docs" resolved against window.location, which drops the
last path segment when the page URL has no trailing slash. Visiting
https://www.ebi.ac.uk/pride/services/sdrf-validator pointed the docs
link at /pride/services/docs instead of
/pride/services/sdrf-validator/docs. Reuse the existing apiUrl() helper
(which guarantees a trailing-slash base) to set the href at runtime.
---
static/index.html | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/static/index.html b/static/index.html
index be33870..a02e5f5 100644
--- a/static/index.html
+++ b/static/index.html
@@ -886,7 +886,7 @@ About SDRF Validator