|
1 | 1 | /** |
2 | 2 | * Copyright (C) 2022 lvdat |
3 | | - * |
| 3 | + * |
4 | 4 | * This file is part of CTU-Identity. |
5 | | - * |
| 5 | + * |
6 | 6 | * CTU-Identity is free software: you can redistribute it and/or modify |
7 | 7 | * it under the terms of the GNU General Public License as published by |
8 | 8 | * the Free Software Foundation, either version 3 of the License, or |
9 | 9 | * (at your option) any later version. |
10 | | - * |
| 10 | + * |
11 | 11 | * CTU-Identity is distributed in the hope that it will be useful, |
12 | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | 14 | * GNU General Public License for more details. |
15 | | - * |
| 15 | + * |
16 | 16 | * You should have received a copy of the GNU General Public License |
17 | 17 | * along with CTU-Identity. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 | */ |
19 | 19 |
|
20 | | -const indexRouter = require('./index.route') |
21 | | -const usersRouter = require('./users.route') |
22 | | -const cityRouter = require('./city.route') |
23 | | -const swaggerRouter = require('./swagger.route') |
24 | | -const fileRouter = require('./file.route') |
| 20 | +const indexRouter = require("./index.route"); |
| 21 | +const usersRouter = require("./users.route"); |
| 22 | +const cityRouter = require("./city.route"); |
| 23 | +const swaggerRouter = require("./swagger.route"); |
| 24 | +const fileRouter = require("./file.route"); |
25 | 25 |
|
26 | 26 | module.exports = (CTU) => { |
27 | | - CTU.use('/', indexRouter) |
28 | | - CTU.use('/api/users', usersRouter) |
29 | | - CTU.use('/api/city', cityRouter) |
30 | | - CTU.use('/api-docs', swaggerRouter) |
31 | | - CTU.use('/key-download', fileRouter) |
32 | | -} |
| 27 | + CTU.use("/", indexRouter); |
| 28 | + CTU.use("/api/users", usersRouter); |
| 29 | + CTU.use("/api/city", cityRouter); |
| 30 | + CTU.use("/api-docs", swaggerRouter); |
| 31 | + CTU.use("/key-download", fileRouter); |
| 32 | +}; |
0 commit comments