3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 07:35:02 +00:00

dashboard: auth fixes, guild listing, config editing

This commit is contained in:
Dragory 2019-06-23 03:40:53 +03:00
parent 0a1cd81035
commit 5279ab06fa
14 changed files with 200 additions and 42 deletions

View file

@ -20,6 +20,11 @@ connect().then(() => {
initAuth(app);
initGuildsAPI(app);
app.use((err, req, res, next) => {
res.status(err.status || 500);
res.json({ error: err.message });
});
app.get("/", (req, res) => {
res.end({ status: "cookies" });
});