[👷] 문서 설정
All checks were successful
JJ_Back/pipeline/head This commit looks good

This commit is contained in:
김선규 2024-08-20 13:29:04 +09:00
parent 5a32a040a6
commit 38161e67ae
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import bodyParser from 'body-parser';
// import swaggerUi from 'swagger-ui-express';
import path from 'path';
import { fileURLToPath } from 'url';
// import cookieParser from 'cookie-parser';
import cookieParser from 'cookie-parser';
import cors from 'cors';
import session from 'express-session'; // express-session 추가
@ -24,7 +24,7 @@ const app = express();
app.use(cors());
app.use(bodyParser.json()); // For parsing application/json
// app.use(cookieParser()); // For parsing cookies
app.use(cookieParser()); // For parsing cookies
app.use(express.static(path.join(__dirname, 'Front'))); // Serve static files from Pront directory
// Swagger setup

View File

@ -14,6 +14,7 @@
"license": "ISC",
"dependencies": {
"express": "^4.19.2",
"mysql2": "^3.11.0",
"cookie-parser": "^1.4.6",
"body-parser": "^1.19.2",
"express-session": "^1.17.3",