Skip to content

Commit

Permalink
Refactor swagger configuration to use environment variable for URL
Browse files Browse the repository at this point in the history
  • Loading branch information
thadeucbr committed Sep 30, 2024
1 parent 4fdce85 commit 64f7ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helper/swagger/swagger.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Notably, the API is capable of handling both standard JSON calls and natural lan
},
servers: [
{
url: `http://${process.env.SWAGGER_URL}:${process.env.EXPRESS_PORT}`,
url: process.env.SWAGGER_URL,
},
],
},
Expand Down

0 comments on commit 64f7ea8

Please sign in to comment.