fix(convivo): tab bar safe-area + no-cache index.html
- Tab bar: respect env(safe-area-inset-bottom) so the iOS home indicator no longer clips the tab labels (min-height + bottom padding). Screen bottom padding also grows by the safe-area inset. - nginx: index.html now sends Cache-Control: no-cache so clients always fetch the latest hashed bundle after a redeploy (assets stay immutable). Fixes stale-bundle behavior seen on phones (old 'Pick a session first' button, etc.). Co-authored-by: Stephan Charles <[email protected]> Co-authored-by: Amelia Hernandez <[email protected]> Co-authored-by: Markus Franz <[email protected]> Co-authored-by: Sabrina Hota <[email protected]> Co-authored-by: Nilüfer Doğan <[email protected]>
This commit is contained in:
1 parent
81631aa585
commit
fcbc19b8fc
2 files changed
+8
-5
No files matched your search
@@ -20,8 +20,11 @@ server {
|
||||
gzip_types text/plain text/css application/json application/javascript image/svg+xml;
|
||||
|
||||
# SPA fallback: any non-file, non-proxied route serves index.html so the
|
||||
# client-side router can take over.
|
||||
# client-side router can take over. index.html is never cached so clients
|
||||
# always pick up the latest hashed bundle after a redeploy (the /assets/
|
||||
# bundles are content-hashed and safely immutable).
|
||||
location / {
|
||||
add_header Cache-Control "no-cache";
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user