Skip to content

Commit eede4b4

Browse files
committed
Prerender 2024 posts
1 parent be7bdb3 commit eede4b4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/routes/api/posts/2024/+server.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import postCopilotContext from '$posts/(2024)/github-copilot-context/meta';
33
import { json } from '@sveltejs/kit';
44
import type { RequestHandler } from './$types';
55

6-
// Needs to be set explicitly because we prerender endpoint `/sitemap.xml`.
7-
// export const prerender = true;
6+
export const prerender = true;
87

98
export const GET: RequestHandler = async (event) => {
109
// Sort order: latest first.

0 commit comments

Comments
 (0)