Skip to content

Commit

Permalink
Merge pull request #95 from RMartinOscar/issue/93
Browse files Browse the repository at this point in the history
Add discord redirect
  • Loading branch information
notAreYouScared authored Dec 8, 2024
2 parents f1e6d75 + 2705d1c commit c399114
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pages/discord.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default function RedirectToDiscord() {
if (typeof window !== 'undefined') {
window.location.href = 'https://discord.gg/pelican-panel';
}
return null; // Return null since no UI is needed.
}

0 comments on commit c399114

Please sign in to comment.