Fix PWA install: static manifest.json + proper SVG icon

- Replace blob: manifest (ignored by Chrome) with static manifest.json
- Replace data: URL icon with real icon.svg file
- Link manifest and apple-touch-icon directly in <head>
- Remove blob/data URL generation from app.js

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
HoneyandClaude Sonnet 4.6 committed 2026-04-25 17:20:55 +02:00
1 parent 042ce0b095
commit 56c5662a11
7 files changed
+58 -11

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
FROM nginx:alpine
COPY index.html styles.css app.js sw.js /usr/share/nginx/html/
COPY index.html styles.css app.js sw.js manifest.json icon.svg /usr/share/nginx/html/
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh