Skip to content

Commit

Permalink
fix(theme): use withBase to resolve path for api.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Oct 29, 2024
1 parent c866ba7 commit e952e6c
Show file tree
Hide file tree
Showing 5 changed files with 9,603 additions and 5,541 deletions.
4 changes: 2 additions & 2 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export default defineConfig({
themeConfig: {
logo: "/tsed.svg",
siteTitle: false,
apiUrl: "https://tsed.io/api.json",
apiRedirectUrl: "https://api-docs.tsed.io",
apiUrl: "/api.json",
apiRedirectUrl: "",
repo: "tsedio/tsed",
githubProxyUrl: "https://api.tsed.io/rest/github/tsedio/tsed",
editLink: {
Expand Down
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ import {data} from './api.data';
</script>


<Api v-bind="data" />
<Api :modules="data.modules" :symbol-types="data.symbolTypes" />
Loading

0 comments on commit e952e6c

Please sign in to comment.