We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e184b5 commit baf462aCopy full SHA for baf462a
apps/svelte.dev/src/routes/blog/[slug]/card.png/+server.ts
@@ -8,8 +8,13 @@ import Card from './Card.svelte';
8
import DMSerifDisplay from './DMSerifDisplay-Regular.ttf?url';
9
import FiraSans from './FiraSans-Regular.ttf?url';
10
import { blog_posts } from '$lib/server/content';
11
+import type { ServerlessConfig } from '@sveltejs/adapter-vercel';
12
-export const prerender = true;
13
+export const config: ServerlessConfig = {
14
+ isr: {
15
+ expiration: false
16
+ }
17
+};
18
19
export function entries() {
20
return blog_posts.map((post) => ({
0 commit comments