[👷] 문서 설정

This commit is contained in:
김선규 2024-08-20 11:17:18 +09:00
parent 28c241105f
commit 7fac4e8d1e
2 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,7 @@ import { dbConfig } from '../private/config.js';
const router = express.Router(); const router = express.Router();
router.get(`/version`, async (req, res) => { router.get('/version', async (req, res) => {
try { try {
const connection = await createDatabaseConnection(dbConfig); const connection = await createDatabaseConnection(dbConfig);
const [rows] = await connection.query('SELECT * FROM version'); const [rows] = await connection.query('SELECT * FROM version');

View File

@ -13,6 +13,7 @@
"author": "Team.Stein", "author": "Team.Stein",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"express": "^4.19.2" "express": "^4.19.2",
"swagger-jsdoc": "^6.2.8",
} }
} }