We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1786e95 commit bde566bCopy full SHA for bde566b
2 files changed
docs/components/ChangelogWindow.vue
@@ -44,7 +44,7 @@ const activeSection = ref('')
44
const contentRef = ref<HTMLElement>()
45
46
const { data: changelogData } = await useAsyncData<ChangelogResponse>('changelog', async () => {
47
- return await $fetch('/api/changelog')
+ return await $fetch('/api/changelog.json')
48
}, {
49
deep: true,
50
lazy: false,
docs/components/ReadmeWindow.vue
@@ -50,7 +50,7 @@ const contentRef = ref<HTMLElement>()
51
const { data: readmeData } = await useAsyncData<ReadmeResponse>(`readme-${locale.value}`, async () => {
52
const currentLocale = locale.value
53
- return await $fetch(`/api/readme?locale=${currentLocale}`)
+ return await $fetch(`/api/readme.json?locale=${currentLocale}`)
54
55
watch: [locale],
56
0 commit comments