Go to file
Claude 2f3999dabf 🔧 Fix social media link preview image display
**Fixed Open Graph Image Issues:**
- Updated static asset handling in security middleware
- Removed CSP restrictions for /static/ paths to allow social media scrapers
- Added proper cache headers for static assets (1 year cache)
- Fixed og:image dimensions to match actual image (1800x600)
- Added og:image:alt attribute for accessibility
- Added cache-busting version parameter (?v=2) to force preview refresh

**Added Debug Test Page:**
- Created /test-og/ endpoint for testing social media previews
- Displays actual meta tag URLs and image preview
- Includes testing instructions and troubleshooting tips

**Root Cause:** CSP and security headers were blocking social media crawlers from accessing the og-image.png file

**Testing:** Visit /test-og/ and use Facebook/Twitter debugging tools to verify image previews work

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-16 15:03:10 +05:30
.claude/agents 🤖 Add specialized subagents and auto-documentation system 2025-07-27 17:47:37 +05:30
.github 🔒 Implement comprehensive deployment control system 2025-07-27 17:53:30 +05:30
agents 🛡️ Comprehensive Security & Performance Optimization 2025-08-16 14:39:47 +05:30
authentication 🛡️ Comprehensive Security & Performance Optimization 2025-08-16 14:39:47 +05:30
core 🔧 Fix social media link preview image display 2025-08-16 15:03:10 +05:30
docs 🎨 Add external service wrappers and social media previews 2025-08-15 18:21:16 +05:30
netcop_hub 🛡️ Comprehensive Security & Performance Optimization 2025-08-16 14:39:47 +05:30
scripts 🔒 Implement comprehensive deployment control system 2025-07-27 17:53:30 +05:30
static 🖼️ Use branded logo as social media preview image 2025-08-16 08:29:52 +05:30
templates 🔧 Fix social media link preview image display 2025-08-16 15:03:10 +05:30
tests 🧹 Major codebase cleanup - remove obsolete files and reduce project bloat 2025-08-14 09:42:56 +05:30
wallet 🛡️ Comprehensive Security & Performance Optimization 2025-08-16 14:39:47 +05:30
.env.example 🔐 Add email verification bypass for testing environments 2025-08-02 13:04:16 +05:30
.env.production.template Fix Railway health check with improved timeout and retry logic 2025-07-26 10:29:50 +05:30
.gitignore 🤖 Implement comprehensive N8N workflow management system 2025-07-26 09:31:20 +05:30
.railway.env.example 🔒 Implement comprehensive deployment control system 2025-07-27 17:53:30 +05:30
CLAUDE.md 📝 Comprehensive documentation update 2025-08-16 14:59:21 +05:30
manage.py Initial Django project setup with working homepage 2025-07-08 16:30:56 +05:30
railway.json 🛡️ Comprehensive Security & Performance Optimization 2025-08-16 14:39:47 +05:30
railway.staging.json 🔒 Implement comprehensive deployment control system 2025-07-27 17:53:30 +05:30
requirements-dev.txt Implement comprehensive Django performance optimizations 2025-07-13 13:23:59 +05:30
requirements.txt 🛡️ Comprehensive Security & Performance Optimization 2025-08-16 14:39:47 +05:30
ROLLBACK.md 📝 Add comprehensive rollback documentation for emergency recovery 2025-08-16 14:43:56 +05:30
run_dev.sh Fix Railway static files serving with WhiteNoise 2025-07-12 10:38:44 +05:30