Skip to content

Commit

Permalink
Also redirect the home page.
Browse files Browse the repository at this point in the history
  • Loading branch information
jthiller committed Feb 1, 2025
1 parent 81569d4 commit 5738cec
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ const nextConfig = {
async redirects() {
return [
{
source: "/((?!api).*)/:slug",
destination: "https://world.helium.com",
permanent: true,
},
{
source: "/:slug",
source: "/((?!api(?:$|/)).*)",
destination: "https://world.helium.com",
permanent: true,
},
Expand Down

0 comments on commit 5738cec

Please sign in to comment.