Skip to content

Commit

Permalink
❌ remove resolution cap
Browse files Browse the repository at this point in the history
  • Loading branch information
deltea committed Jan 20, 2025
1 parent caf72e2 commit 86e66fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function cn(...values: ClassValue[]) {

export function image(url: string | undefined) {
if (!url) return;
return `https:${url}?fm=jpg&w=600&h=1000`;
return `https:${url}?fm=jpg`;
}

export function formatDate(dateString: string) {
Expand Down
1 change: 1 addition & 0 deletions src/pages/posts/[slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export async function getStaticPaths() {
}),
},
}));
console.log(new Array(pages.length).fill("").map((v, i) => pages[i].params.slug));
return pages;
}
Expand Down

0 comments on commit 86e66fd

Please sign in to comment.