Fix changelog prerender issue

This commit is contained in:
Prospector
2026-03-17 19:26:40 -07:00
parent 235934abd7
commit 61754efca4
2 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ const changelogEntry = computed(() =>
const isFirst = computed(() => changelogEntry.value?.date === getChangelog()[0].date)
if (!changelogEntry.value) {
createError({ statusCode: 404, statusMessage: 'Version not found' })
throw createError({ statusCode: 404, statusMessage: 'Version not found' })
}
</script>