Skip to content

Commit c3ac57b

Browse files
committed
fix: message routes index
1 parent 637565a commit c3ac57b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/routes/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { BASE_URL_SERVER } from 'config/baseURL'
12
import express, { Request, Response, NextFunction } from 'express'
23
import BuildResponse from 'modules/Response/BuildResponse'
34
import ResponseError from 'modules/Response/ResponseError'
@@ -12,7 +13,7 @@ router.get('/', function (req: Request, res: Response, next: NextFunction) {
1213
maintaner: 'masb0ymas, <[email protected]>',
1314
source:
1415
'https://github.com/masb0ymas/boilerplate-express-typescript-sequelize',
15-
docs: `http://localhost:${process.env.PORT}/v1/api-docs`,
16+
docs: `${BASE_URL_SERVER}/v1/api-docs`,
1617
})
1718
return res.json(buildResponse)
1819
})

0 commit comments

Comments
 (0)