Retro Bulletin Board Systems on atproto. Web app and TUI. lazy mirror of alyraffauf/atbbs atbbs.xyz
forums python tui atproto bbs
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix caching (2)

+7 -5
+3 -5
web/nginx.conf
··· 4 4 index index.html; 5 5 6 6 # SPA fallback — serve index.html for all routes that don't match a file. 7 + # no-cache ensures the browser revalidates on every visit so users never 8 + # see stale HTML after OAuth redirects or deploys. 7 9 location / { 10 + add_header Cache-Control "no-cache" always; 8 11 try_files $uri $uri/ /index.html; 9 - } 10 - 11 - # index.html must always be revalidated so browsers pick up new bundles. 12 - location = /index.html { 13 - add_header Cache-Control "no-cache"; 14 12 } 15 13 16 14 # Hashed assets from Vite never change — cache them aggressively.
+4
web/src/main.tsx
··· 5 5 import { BreadcrumbProvider } from "./hooks/useBreadcrumb"; 6 6 import "./index.css"; 7 7 8 + window.addEventListener("pageshow", (event) => { 9 + if (event.persisted) window.location.reload(); 10 + }); 11 + 8 12 createRoot(document.getElementById("root")!).render( 9 13 <StrictMode> 10 14 <BreadcrumbProvider>