From 97b958f37790486feebf863f1e2272cbf4c7922a Mon Sep 17 00:00:00 2001 From: Samrendra <43675000+SamrendraS@users.noreply.github.com> Date: Mon, 14 Oct 2024 14:31:16 +0530 Subject: [PATCH] adding redirect to madara launcher (#41) * adding redirect to madara launcher * prettier changes --- next.config.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/next.config.js b/next.config.js index 92e8a95..576384d 100644 --- a/next.config.js +++ b/next.config.js @@ -8,4 +8,14 @@ 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, + }, + ]; + }, });