feat: update site URLs and enhance image handling
- Changed site URLs in docker-compose and deployment configurations to remove "www" prefix for consistency. - Improved image handling by introducing warmPostCardImages function for pre-fetching images in posts and tags. - Enhanced PostCard component with responsive image sizes for better performance. - Updated layout to include robots meta tag and JSON-LD structured data for improved SEO. - Added loading state for images in TopBanner component to enhance user experience.
This commit is contained in:
+2
-2
@@ -5,9 +5,9 @@ services:
|
||||
- "3001:3001"
|
||||
environment:
|
||||
- PUBLIC_CMS_URL=${PUBLIC_CMS_URL:-http://rustycms:3000}
|
||||
- PUBLIC_SITE_URL=${PUBLIC_SITE_URL:-https://www.windwiderstand.de}
|
||||
- PUBLIC_SITE_URL=${PUBLIC_SITE_URL:-https://windwiderstand.de}
|
||||
- PUBLIC_SITE_NAME=${PUBLIC_SITE_NAME:-Windwiderstand}
|
||||
- ORIGIN=${ORIGIN:-https://www.windwiderstand.de}
|
||||
- ORIGIN=${ORIGIN:-https://windwiderstand.de}
|
||||
- IMAGE_CACHE_DIR=${IMAGE_CACHE_DIR:-/app/.cache/images}
|
||||
volumes:
|
||||
- image-cache:/app/.cache/images
|
||||
|
||||
Reference in New Issue
Block a user