added default fallback for prod

This commit is contained in:
user
2026-03-28 19:27:13 +02:00
parent 92deee1b2e
commit ce13ad8124
4 changed files with 12 additions and 4 deletions

View File

@@ -84,3 +84,9 @@ Update rule:
### 11 — Admin Link Copy Full URL
- Refactored admin links-page copy action to copy full public frontend access URLs (`PUBLIC_FRONTEND_URL?token=...`) instead of raw tokens.
### 12 — Main App Production Env Access Fix
- Replaced client-facing `$env/dynamic/public` usage with `$env/static/public` in shared constants and links page code.
- Fixed production crash path where browser bundle attempted to read runtime `env` from an undefined object during hydration/update.
- Kept behavior unchanged for `PUBLIC_WS_SCRCPY_SVC_URL` and `PUBLIC_FRONTEND_URL` consumers while making access compile-time safe.