Skip to content

Commit 3113e46

Browse files
chore: Redirect root to /generate-referrals (#103)
1 parent df7789b commit 3113e46

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

frontend/next.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ const nextConfig = {
1919
output: "standalone",
2020
// Continue to support older browsers (ES5)
2121
transpilePackages: [],
22+
23+
async redirects() {
24+
return [
25+
{
26+
source: "/",
27+
destination: "/generate-referrals",
28+
permanent: false,
29+
},
30+
];
31+
},
2232
};
2333

2434
module.exports = withNextIntl(nextConfig);

0 commit comments

Comments
 (0)