mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-09 15:15:58 +08:00
updated maintenance message
This commit is contained in:
parent
a05cd6f595
commit
ea32e158c5
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ app.set("trust proxy", 1);
|
|||
|
||||
app.use((req, res, next) => {
|
||||
if (process.env.MAINTENANCE === "true") {
|
||||
res.status(503).json({ message: "Site is down for maintenance" });
|
||||
res.status(503).json({ message: "Server is down for maintenance" });
|
||||
} else {
|
||||
next();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue