mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-06-08 23:16:48 +00:00
feat: lots of refactors and improvements
This commit is contained in:
@@ -48,7 +48,6 @@ export const mapImageUrl = (imageUrl: string) => {
|
||||
}
|
||||
|
||||
if (imageCDNHost) {
|
||||
// Our proxy uses Cloudflare's global CDN to cache these image assets
|
||||
return `${imageCDNHost}/${encodeURIComponent(imageUrl)}`
|
||||
} else {
|
||||
return imageUrl
|
||||
|
||||
Reference in New Issue
Block a user