Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 9b14c4c

Browse files
authored
fix: Redirect to Linux Blog (#4204)
1 parent 738f574 commit 9b14c4c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

middleware.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,7 @@ export async function middleware(req: NextRequest) {
132132
if (!req.nextUrl.searchParams.has("redirectedFrom")) {
133133
return NextResponse.redirect(redirectUrl);
134134
}
135+
136+
// Redirect all routes to the Linux Blog
137+
return NextResponse.redirect("https://opensauced.pizza/blog/opensauced-is-joining-the-linux-foundation");
135138
}

netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,9 @@ from = "https://hot.opensauced.pizza/*"
4444
to = "https://app.opensauced.pizza/explore"
4545
status = 301
4646
force = true
47+
48+
[[redirects]]
49+
from = "/*"
50+
to = "https://opensauced.pizza/blog/opensauced-is-joining-the-linux-foundation"
51+
status = 301
52+
force = true

0 commit comments

Comments
 (0)