mirror of
https://github.com/hyprwm/hyprland-website.git
synced 2024-12-22 18:29:48 +01:00
add /discord
This commit is contained in:
parent
7f05179c9c
commit
7351849e68
1 changed files with 4 additions and 0 deletions
4
index.js
4
index.js
|
@ -41,4 +41,8 @@ app.use((_, res) => {
|
|||
|
||||
app.listen(process.env.PORT || 4000, () => {
|
||||
console.log("Listening to PORT: 4000");
|
||||
});
|
||||
|
||||
app.get("/discord", (req, res) => {
|
||||
res.status(200).send("<head><title>redirecting...</title><body><script>window.location.href='https://discord.gg/hQ9XvMUjjr';</script></body>");
|
||||
});
|
Loading…
Reference in a new issue