Skip to content

Commit 213c6ea

Browse files
dshkolclaude
andcommitted
Fix Safari CSS loading issue with base tag
Safari was not loading CSS correctly through the Netlify proxy due to relative path resolution. Adding <base href="/thedaily/"> ensures all relative URLs resolve correctly regardless of browser. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a2e56f9 commit 213c6ea

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

observablehq.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ export default {
77
// Base path for subdirectory deployment (dshkol.com/thedaily)
88
base: "/thedaily",
99

10+
// Add base tag for Safari compatibility with proxied deployment
11+
head: `<base href="/thedaily/">`,
12+
1013
root: "docs",
1114
output: "dist",
1215
style: "style.css",

0 commit comments

Comments
 (0)