We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6c76a7 commit af27c59Copy full SHA for af27c59
src/common/swagger/index.js
@@ -34,8 +34,12 @@ const swaggerDefinition = {
34
},
35
servers: [
36
{
37
- url: 'http://localhost:3000',
38
- description: 'Development server',
+ url: process.env.NODE_ENV === 'production'
+ ? 'http://3.35.0.31:3000'
39
+ : 'http://localhost:3000',
40
+ description: process.env.NODE_ENV === 'production'
41
+ ? 'Production server'
42
+ : 'Development server',
43
44
],
45
components: {
0 commit comments