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:
parent
0a1cd81035
commit
5279ab06fa
14 changed files with 200 additions and 42 deletions
|
@ -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" });
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue