Implement comprehensive web app API endpoint fix

- Patch origins.ts during Docker build to use window.location.origin + '/api'
- Update version to 0.1.69 to force rebuild
- Add browser compatibility check for server-side rendering
- Fix both API and uploader endpoint redirections

This addresses the root cause where web apps were hardcoded to use
https://api.ente.io instead of the local Museum server.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Your Name
2025-07-25 19:27:11 -06:00
parent c7b9ab18bb
commit 06e0f5075e
5 changed files with 56 additions and 7 deletions

View File

@@ -152,9 +152,9 @@ email:
# WebAuthn configuration for passkey support
webauthn:
rpid: "${CLOUDRON_APP_FQDN:-localhost}"
rpid: "${CLOUDRON_APP_DOMAIN:-localhost}"
rporigins:
- "https://${CLOUDRON_APP_FQDN:-localhost}"
- "https://${CLOUDRON_APP_DOMAIN:-localhost}"
EOF
chmod 600 "$MUSEUM_CONFIG"
log "INFO" "Created Museum configuration at ${MUSEUM_CONFIG}"