Skip to content

Commit

Permalink
🔧 add env.example
Browse files Browse the repository at this point in the history
  • Loading branch information
wook-hyung committed Dec 12, 2023
1 parent db82593 commit c4fbea6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
PORT=<PORT>

DB_HOST=<DB_HOST>
DB_USER=<DB_USER>
DB_PASSWORD=<DB_PASSWORD>
DB_PORT=<DB_PORT>
DB_DATABASE=<DB_DATABASE>
4 changes: 2 additions & 2 deletions swagger/swagger.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const swaggerUi = require('swagger-ui-express');
const swaggereJsdoc = require('swagger-jsdoc');
const swaggerJsdoc = require('swagger-jsdoc');

const options = {
swaggerDefinition: {
Expand All @@ -17,6 +17,6 @@ const options = {
},
apis: ['./routes/*.js'], //Swagger 파일 연동
};
const specs = swaggereJsdoc(options);
const specs = swaggerJsdoc(options);

module.exports = { swaggerUi, specs };

0 comments on commit c4fbea6

Please sign in to comment.