mirror of
https://github.com/hyprwm/hyprland-website.git
synced 2024-11-16 18:35:59 +01:00
oopsie fix
This commit is contained in:
parent
7351849e68
commit
5abf75bfa6
1 changed files with 4 additions and 4 deletions
8
index.js
8
index.js
|
@ -35,14 +35,14 @@ app.get("/rices", (req, res) => {
|
|||
res.render("rices");
|
||||
});
|
||||
|
||||
app.get("/discord", (req, res) => {
|
||||
res.status(200).send("<head><title>redirecting...</title><body><script>window.location.href='https://discord.gg/hQ9XvMUjjr';</script></body>");
|
||||
});
|
||||
|
||||
app.use((_, res) => {
|
||||
res.status(404).render("404");
|
||||
});
|
||||
|
||||
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