[TS] Renamed file extensions to typescript
This commit is contained in:
parent
4d5b347767
commit
4a6f20fa7b
31 changed files with 12 additions and 0 deletions
|
@ -1,11 +0,0 @@
|
|||
import { Router, json as jsonMiddleware } from "express";
|
||||
import { getS3BackupUrl, listS3Backups } from "../controllers/s3-controller.js";
|
||||
import cairoAuthMiddleware from "./middlewares/auth-middleware.js";
|
||||
|
||||
const router = Router();
|
||||
router.use([cairoAuthMiddleware, jsonMiddleware()]);
|
||||
|
||||
router.post("/backups", listS3Backups);
|
||||
router.post("/backup-url", getS3BackupUrl);
|
||||
|
||||
export default router;
|
Loading…
Add table
Add a link
Reference in a new issue