From b7b4346cdd2bee88b0a302494a1a9302590462d5 Mon Sep 17 00:00:00 2001 From: Samrendra Date: Mon, 14 Oct 2024 14:23:51 +0530 Subject: [PATCH] adding redirect to madara launcher --- next.config.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index 92e8a95..62ff4be 100644 --- a/next.config.js +++ b/next.config.js @@ -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, + }, + ]; + }, +}); \ No newline at end of file