Skip to content

Commit

Permalink
Undo companies pre-render
Browse files Browse the repository at this point in the history
  • Loading branch information
ddxv committed Nov 27, 2024
1 parent 3014212 commit 844b9bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/routes/(categorical)/companies/+page.server.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import type { PageServerLoad } from './$types.js';
export const prerender = 'auto';

// This worked well to speed up page, but caused multiple canonical rel_urls
//export const prerender = 'auto';

export const load: PageServerLoad = async ({}) => {
const res = fetch(`http://localhost:8000/api/companies`);
Expand Down

0 comments on commit 844b9bc

Please sign in to comment.