forked from Archives/Athou_commafeed
generate a nicer url in documentation (/rest instead of /openapi/../rest)
This commit is contained in:
@@ -5,7 +5,7 @@ function ApiDocumentationPage() {
|
||||
return (
|
||||
// force white background because documentation does not support dark theme
|
||||
<Box style={{ backgroundColor: "#fff" }}>
|
||||
<RedocStandalone specUrl="openapi/openapi.json" />
|
||||
<RedocStandalone specUrl="openapi.json" />
|
||||
</Box>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user