fix: Lucide Icons lokal ausliefern statt CDN
- lucide.min.js v0.469.0 lokal gecacht (kein unpkg-Request mehr) - Source-Map-Referenz aus Bundle entfernt (behebt NetworkError in DevTools) - unpkg.com aus CSP entfernt (nicht mehr benötigt) - preconnect zu unpkg.com aus index.html entfernt - lucide.min.js zum SW-App-Shell-Cache hinzugefügt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-3
@@ -34,10 +34,8 @@ app.use(helmet({
|
||||
defaultSrc: ["'self'"],
|
||||
scriptSrc: [
|
||||
"'self'",
|
||||
// Alpine.js CDN
|
||||
// Alpine.js CDN (optional, falls verwendet)
|
||||
'https://cdn.jsdelivr.net',
|
||||
// Lucide Icons CDN
|
||||
'https://unpkg.com',
|
||||
],
|
||||
styleSrc: ["'self'", "'unsafe-inline'"],
|
||||
imgSrc: ["'self'", 'data:', 'https://openweathermap.org'],
|
||||
|
||||
Reference in New Issue
Block a user