fix post-login blank page + rebrand login hero
All checks were successful
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Successful in 5s
CI/CD / test-go-pg (push) Successful in 2m18s
CI/CD / test-sqlite (push) Successful in 2m31s
CI/CD / build-and-deploy (push) Successful in 32s

- nginx: use alias for BASE_PATH fallback so static assets resolve
  correctly when deployed under a sub-path (fixes white page on K8s)
- base.html: remove dead template refs (chat, notes, projects) that
  caused html/template to fail silently with Content-Length: 0
- login hero: rebrand from "Chat Switchboard" to "Switchboard Core",
  update tagline and feature pills to reflect platform pivot

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-26 15:04:04 +00:00
parent 9eb56ca7de
commit 2090842370
3 changed files with 14 additions and 20 deletions

View File

@@ -90,8 +90,10 @@ server {
}
# Fallback: serve frontend shell (SPA)
# alias strips the BASE_PATH prefix so /test/css/app.css → /usr/share/nginx/html/css/app.css
location ${BASE_PATH}/ {
try_files $uri $uri/ ${BASE_PATH}/index.html;
alias /usr/share/nginx/html/;
try_files $uri $uri/ /index.html;
}
# Security headers