Skip to content

Commit

Permalink
adding redirect to madara launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
SamrendraS committed Oct 14, 2024
1 parent bdf4806 commit b7b4346
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,13 @@ module.exports = withNextra({
locales: ["en", "zh-CN"],
defaultLocale: "en",
},
});
async redirects() {
return [
{
source: '/launcher.sh',
destination: 'https://raw.githubusercontent.com/madara-alliance/madara/refs/heads/main/scripts/launcher',
permanent: false,
},
];
},
});

0 comments on commit b7b4346

Please sign in to comment.