mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-16 23:03:34 +02:00
15 lines
410 B
TypeScript
15 lines
410 B
TypeScript
import * as express from "express";
|
|
import config from "../../config";
|
|
export const router = express.Router();
|
|
|
|
router.get("/", async (req: express.Request, res: express.Response) => {
|
|
res.json({
|
|
ENABLE_DOWNLOAD: config.ENABLE_DOWNLOAD,
|
|
MAX_FILE_SIZE: config.MAX_FILE_SIZE,
|
|
MAX_REPO_SIZE: config.MAX_REPO_SIZE,
|
|
ANONYMIZATION_MASK: config.ANONYMIZATION_MASK,
|
|
});
|
|
});
|
|
|
|
export default router;
|