Which combination of base-href, deploy-url, and APP_BASE_HREF correctly serves refreshed deep links from a subfolder?
An Angular CLI production build is deployed to a subfolder path such as /app/ behind a CDN. The goal is to ensure that a browser refresh on a deep route like /app/dashboard/42 returns index.html from the server (or CDN edge) so the router can boot and navigate, while all generated asset URLs (scripts, styles, images) resolve to the correct CDN origin. The CL