Skip to content

Commit

Permalink
Trying something for Safari.
Browse files Browse the repository at this point in the history
  • Loading branch information
sherakama committed Jan 8, 2024
1 parent abb15f8 commit 96b3427
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion components/Logo/Logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ export const Logo = ({
<LogoHorizontal color={color} />
);

const homeLink = '/';
// Must be /home or else the RSC prefetch won't work as there are issues with "/"
const homeLink = '/home';

// Render logo as link if isLink is true
if (isLink) {
Expand Down
11 changes: 10 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,13 @@
Referrer-Policy = "strict-origin-when-cross-origin"
Strict-Transport-Security = "max-age=2592000"
Permissions-Policy = "vibrate=(), geolocation=(), midi=(), notifications=(), push=(), microphone=(), camera=(), magnetometer=(), gyroscope=(), speaker=()"
X-Robots-Tag = "noindex, nofollow"
X-Robots-Tag = "noindex, nofollow"

# REDIRECTS
# ##############################################################################

[[redirects]]
from = "/home"
to = "/"
status = 301
force = true

0 comments on commit 96b3427

Please sign in to comment.