From 3014212a7d4a00ff8e10284db6c353259469d3c3 Mon Sep 17 00:00:00 2001 From: James O'Claire Date: Wed, 27 Nov 2024 11:41:55 +0800 Subject: [PATCH] try pre-render auto in companies --- frontend/src/routes/(categorical)/companies/+page.server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/routes/(categorical)/companies/+page.server.ts b/frontend/src/routes/(categorical)/companies/+page.server.ts index 016e70c..7520024 100644 --- a/frontend/src/routes/(categorical)/companies/+page.server.ts +++ b/frontend/src/routes/(categorical)/companies/+page.server.ts @@ -1,4 +1,5 @@ import type { PageServerLoad } from './$types.js'; +export const prerender = 'auto'; export const load: PageServerLoad = async ({}) => { const res = fetch(`http://localhost:8000/api/companies`);