- MSAL SPA redirect flow with Azure AD authentication - AuthGuard wrapper with auto-redirect for unauthenticated users - Navbar shows logged-in user name and sign out button - Vite base path set to /lusa-back-planner/ for subdirectory hosting - Apache config for SPA fallback routing - Environment variables for Azure AD tenant/client/redirect Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
366 B
ApacheConf
12 lines
366 B
ApacheConf
Alias /lusa-back-planner /var/www/html/lusa-back-planner
|
|
|
|
<Directory /var/www/html/lusa-back-planner>
|
|
Options -Indexes
|
|
AllowOverride None
|
|
Require all granted
|
|
FallbackResource /lusa-back-planner/index.html
|
|
</Directory>
|
|
|
|
<FilesMatch "\.(js|css|png|jpg|ico|svg|woff2?)$">
|
|
Header set Cache-Control "public, max-age=31536000, immutable"
|
|
</FilesMatch>
|