Skip to content

Commit b7b4346

Browse files
committed
adding redirect to madara launcher
1 parent bdf4806 commit b7b4346

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

next.config.js

+10-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,13 @@ module.exports = withNextra({
88
locales: ["en", "zh-CN"],
99
defaultLocale: "en",
1010
},
11-
});
11+
async redirects() {
12+
return [
13+
{
14+
source: '/launcher.sh',
15+
destination: 'https://raw.githubusercontent.com/madara-alliance/madara/refs/heads/main/scripts/launcher',
16+
permanent: false,
17+
},
18+
];
19+
},
20+
});

0 commit comments

Comments
 (0)