Upgraded dependencies, bumped to Node 24.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<script setup>
|
||||
import Actors from '#/components/actors/actors.vue';
|
||||
import Stash from '#/components/stashes/stash.vue';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Stash>
|
||||
<Actors />
|
||||
</Stash>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import Stash from '#/components/stashes/stash.vue';
|
||||
import Actors from '#/components/actors/actors.vue';
|
||||
</script>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { render } from 'vike/abort'; /* eslint-disable-line import/extensions */
|
||||
import { render } from 'vike/abort';
|
||||
|
||||
import { fetchStashByUsernameAndSlug } from '#/src/stashes.js';
|
||||
import { fetchActors } from '#/src/actors.js';
|
||||
import { curateActorsQuery } from '#/src/web/actors.js';
|
||||
import { HttpError } from '#/src/errors.js';
|
||||
import { fetchStashByUsernameAndSlug } from '#/src/stashes.js';
|
||||
import { curateActorsQuery } from '#/src/web/actors.js';
|
||||
|
||||
export async function onBeforeRender(pageContext) {
|
||||
try {
|
||||
@@ -39,7 +39,8 @@ export async function onBeforeRender(pageContext) {
|
||||
},
|
||||
},
|
||||
};
|
||||
} catch (error) {
|
||||
}
|
||||
catch (error) {
|
||||
if (error instanceof HttpError) {
|
||||
throw render(error.httpCode, error.message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user