Skip to content

Commit c399114

Browse files
Merge pull request #95 from RMartinOscar/issue/93
Add discord redirect
2 parents f1e6d75 + 2705d1c commit c399114

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/pages/discord.tsx

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default function RedirectToDiscord() {
2+
if (typeof window !== 'undefined') {
3+
window.location.href = 'https://discord.gg/pelican-panel';
4+
}
5+
return null; // Return null since no UI is needed.
6+
}

0 commit comments

Comments
 (0)