Skip to content

Commit

Permalink
teehee youre not getting those commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragon1320 committed Jul 2, 2018
1 parent 93400c3 commit 5799872
Show file tree
Hide file tree
Showing 900 changed files with 587,108 additions and 687 deletions.
Binary file modified .vs/slnx.sqlite
Binary file not shown.
6 changes: 5 additions & 1 deletion src/web/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,12 @@ app.use((err, req, res, next) => {
if (err.status === 404) {
return res.render("404");
}

res.locals.message = err.message;
res.locals.error = config.env === "dev" ? err : {};

res.status(err.status || 500);
res.json({ error: err.status || 500 });
res.render("error");
});

const server = http.createServer(app);
Expand Down
232 changes: 150 additions & 82 deletions src/web/routes/api/guilds.js

Large diffs are not rendered by default.

0 comments on commit 5799872

Please sign in to comment.