mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-14 13:55:03 +00:00
feat: download data exports directly from the server without a JS download step
This commit is contained in:
parent
fc4f106afb
commit
9c1568b911
7 changed files with 320 additions and 42 deletions
|
@ -7,6 +7,7 @@ import { initDocs } from "./docs";
|
|||
import { initGuildsAPI } from "./guilds/index";
|
||||
import { clientError, error, notFound } from "./responses";
|
||||
import { startBackgroundTasks } from "./tasks";
|
||||
import multer from "multer";
|
||||
|
||||
const app = express();
|
||||
|
||||
|
@ -20,6 +21,7 @@ app.use(
|
|||
limit: "10mb",
|
||||
}),
|
||||
);
|
||||
app.use(multer().none());
|
||||
|
||||
initAuth(app);
|
||||
initGuildsAPI(app);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue