Skip to content
Snippets Groups Projects
Commit 58bf2cab authored by David Schwarzmann's avatar David Schwarzmann
Browse files

fix: Fix ApiLink component

parent 86e77dcb
No related branches found
No related tags found
1 merge request!38Adapt the schema URL for displaying/loading the api spec
......@@ -2,7 +2,7 @@ import React from "react"
import Link from '@docusaurus/Link'
export default ({ to, withMethod='get', children }) => {
const url = `/docs/apis/delivery-service#${withMethod.toLowerCase()}-${to.replace(/[{}]/g, '-')}`
const url = `/docs/apis/submission-api#${withMethod.toLowerCase()}-${to.replace(/[{}]/g, '-')}`
if (children) {
return <Link to={url}>{children}</Link>
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment