mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-29 15:51:14 +00:00
Merge branch 'main' into fedi_link
This commit is contained in:
commit
81c775e813
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ server.get("/*", async (req, res) => {
|
|||
if (errCode == "instance_is_private") {
|
||||
return res.redirect(`/signup`);
|
||||
} else {
|
||||
return res.redirect(`/404?err=${errCode}`);
|
||||
return res.send(`404: ${errCode}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -180,7 +180,7 @@ server.get("/*", async (req, res) => {
|
|||
`);
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
return res.redirect(`/404?err=${err}`);
|
||||
return res.send(`404: ${err}`);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue