[👷] 문서 설정
This commit is contained in:
parent
28c241105f
commit
7fac4e8d1e
|
@ -11,7 +11,7 @@ import { dbConfig } from '../private/config.js';
|
|||
|
||||
const router = express.Router();
|
||||
|
||||
router.get(`/version`, async (req, res) => {
|
||||
router.get('/version', async (req, res) => {
|
||||
try {
|
||||
const connection = await createDatabaseConnection(dbConfig);
|
||||
const [rows] = await connection.query('SELECT * FROM version');
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
"author": "Team.Stein",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"express": "^4.19.2"
|
||||
"express": "^4.19.2",
|
||||
"swagger-jsdoc": "^6.2.8",
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user