fix(images): Clean up image paths, compress large images, and fix openinary URLs

This commit is contained in:
Mustafa Yildiz
2026-07-18 19:28:38 +03:00
parent be94aa5155
commit f4abe0bc5b
204 changed files with 474 additions and 169 deletions
+5
View File
@@ -0,0 +1,5 @@
const BASE = process.env.NEXT_PUBLIC_OPENINARY_URL;
export function optimizedImage(path: string, params: string) {
return `${BASE}/t/${params}/${path}`;
}