mirror of
https://github.com/hyprwm/hyprland-website.git
synced 2024-11-16 18:35:59 +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
|
@ -42,3 +42,7 @@ 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