Weise dem Web-App-Manifest den richtigen MIME-Typ zu und registriere einen Service Worker, damit Browser und Handy die Installation anbieten.
Deploy Development / deploy (push) Successful in 30s
Test Suite / pytest-backend (push) Successful in 1m40s
Test Suite / smoke-dev (push) Successful in 0s
Test Suite / frontend-build (push) Successful in 9s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-10-17 21:51:22 +02:00
1 parent 339238ce21
commit db4063296b
5 files changed
+83

No files matched your search

+10
View File
@@ -36,6 +36,16 @@ server {
proxy_read_timeout 30s;
}
# .webmanifest ist in den Standard-MIME-Typen dieses Nginx nicht enthalten.
# octet-stream plus nosniff lässt den Browser das Manifest verwerfen,
# dann fehlt das Installationsangebot.
location = /manifest.webmanifest {
types {
application/manifest+json webmanifest;
}
default_type application/manifest+json;
}
location / {
try_files $uri $uri/ /index.html;
}