Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 4d44144

Browse files
authored
[fix]fix fullnode api (#946)
* Update ApiReference component to include server URL in API spec * Refactor ApiReference component to improve formatting of API spec content
1 parent 21dc2a3 commit 4d44144

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/nextra/components/api-reference/ApiReference.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,10 @@ export function ApiReference() {
153153
configuration={{
154154
baseServerURL,
155155
spec: {
156-
content: reference,
156+
content: {
157+
...reference,
158+
servers: [{ url: `${baseServerURL}/v1` }],
159+
},
157160
},
158161
darkMode: convertDarkMode(theme) === "dark",
159162
}}

0 commit comments

Comments
 (0)