Skip to content

Commit 4edf5e6

Browse files
authored
Merge pull request #23 from CTU-ZeroOne/client-branch
Update: register
2 parents a63e36f + 6f085d3 commit 4edf5e6

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

server/routes/index.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
/**
22
* Copyright (C) 2022 lvdat
3-
*
3+
*
44
* This file is part of CTU-Identity.
5-
*
5+
*
66
* CTU-Identity is free software: you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License as published by
88
* the Free Software Foundation, either version 3 of the License, or
99
* (at your option) any later version.
10-
*
10+
*
1111
* CTU-Identity is distributed in the hope that it will be useful,
1212
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414
* GNU General Public License for more details.
15-
*
15+
*
1616
* You should have received a copy of the GNU General Public License
1717
* along with CTU-Identity. If not, see <http://www.gnu.org/licenses/>.
1818
*/
1919

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");
2525

2626
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

Comments
 (0)