Skip to content

Commit 1b137a0

Browse files
Update typedoc.route.ts
1 parent b85ffb9 commit 1b137a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api/v1/typedoc/typedoc.route.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import express from 'express';
22
import path from 'path';
3+
import {devlopmentApiLimiter} from '../../../middlewares/apiRateLimit.middleware';
34

45
const typedocRouter = express.Router();
56

67
typedocRouter.use(express.static(path.join(__dirname, '../../../../docs')));
78

8-
typedocRouter.get('/typedoc', (req, res) => {
9+
typedocRouter.get('/typedoc', devlopmentApiLimiter, (req, res) => {
910
res.sendFile(path.join(__dirname, '../../../../docs/index.html'));
1011
});
1112

0 commit comments

Comments
 (0)