From 9b9aa011a56a093e763adb1524e56c37441a9b7a Mon Sep 17 00:00:00 2001 From: David Schwarzmann <david.schwarzmann@codecentric.de> Date: Wed, 15 Sep 2021 09:01:00 +0000 Subject: [PATCH] Apply 2 suggestion(s) to 1 file(s) --- src/components/ApiSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ApiSpec.js b/src/components/ApiSpec.js index 322fc187e..b0a0a87c3 100644 --- a/src/components/ApiSpec.js +++ b/src/components/ApiSpec.js @@ -33,8 +33,8 @@ export default function ApiSpec(props) { <div> <p>Die aktuell angezeigte Version der API ist {status === 'success' && <code>{latestVersion}</code>} {status === 'success' && - <DownloadLabel baseURL={SCHEMA_BASE_URL} version={latestVersion} path={props.path} artifact={props.artifact}/>}. - Alle vorherigen Versionen <a href={SCHEMA_BASE_URL}>finden sich hier.</a> + <DownloadLabel baseURL={`${SCHEMA_BASE_URL}/${props.path}`} version={latestVersion} artifact={props.artifact}/>}. + Alle vorherigen Versionen <a href={`${SCHEMA_BASE_URL}/${props.path}`}>finden sich hier.</a> </p> {status === 'success' && latestVersion && <rapi-doc -- GitLab