serve static assets from local public/ instead of static.officer.dev, simplify gmail history 404/410 handling

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-30 17:07:55 +00:00
co-authored by Claude Opus 4.7
parent 3540d53a00
commit e0bfc3d961
16 changed files with 38 additions and 36 deletions
@@ -1,5 +1,5 @@
import { PixelGrid } from "@/components/PixelGrid";
const landscapebg = 'https://static.officer.dev/landscape1.webp';
const landscapebg = '/landscape1.webp';
export function Background() {
return (
@@ -32,7 +32,7 @@ export function Header({ dockItems }: HeaderProps) {
)}
<Link to="/">
<img
src="https://static.officer.dev/officer-logo.svg"
src="/officer-logo.svg"
alt="Officer"
className="h-8 md:h-12 w-auto"
style={{ transform: 'skew(-15deg, -2deg)' }}
@@ -85,7 +85,7 @@ export const BrowserRelay = () => {
Download and unzip the extension, then load it in Chrome:
</p>
<a
href="https://static.officer.dev/browser-relay-extension.zip"
href="/browser-relay-extension.zip"
download
className="flex items-center justify-center gap-2 w-full h-11 rounded-md border border-duck-dark/15 dark:border-foreground/15 text-sm font-medium hover:bg-duck-dark/5 dark:hover:bg-foreground/5 transition-colors"
>