Skip to content

Commit

Permalink
Update swagger setting
Browse files Browse the repository at this point in the history
  • Loading branch information
IamGroooooot committed Aug 23, 2023
1 parent d485a18 commit 981a40c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/config/environment-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default () => ({
/https:\/\/.+\.do65qrifiozf1\.amplifyapp\.com$/,
'http://localhost:3000',
'https://localhost:3000',
'https://localhost:3333',
],
DATABASE: {
HOST:
Expand Down
2 changes: 1 addition & 1 deletion src/config/swagger-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ const SWAGGER_OPTIONS = new DocumentBuilder()
'access_token',
)
.addServer('https://api.modocode.com/' + API_VERSION, 'Production Server')
.addServer('http://localhost:3333/' + API_VERSION, 'Localhost Server')
.addServer('https://localhost:3333/' + API_VERSION, 'Localhost Server')
.build();

0 comments on commit 981a40c

Please sign in to comment.