Fix bottom nav full-width layout + add backend URL autofill
- Remove max-width/gap/padding from bottom nav so buttons fill full screen width - Add NS_BACKEND_URL to config.js entrypoint and autofill backend-url field on setup screen Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
b6edfcf14b
commit
a5461ff92c
6 files changed
+17
-17
No files matched your search
@@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Generate runtime config from env vars so the frontend knows the Navidrome URL
|
||||
cat > /usr/share/nginx/html/config.js <<EOF
|
||||
window.NS_SERVER_URL = "${NAVIDROME_URL:-}";
|
||||
window.NS_SERVER_URL = "${NAVIDROME_URL:-}";
|
||||
window.NS_BACKEND_URL = "${BACKEND_URL:-}";
|
||||
EOF
|
||||
exec nginx -g "daemon off;"
|
||||
Reference in new issue
Block a user