diff --git a/index.js b/index.js index d2d30ed..275ce84 100755 --- a/index.js +++ b/index.js @@ -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 @@ -42,7 +42,6 @@ app.use(express.static(path.join(__dirname, 'Front'))); // Serve static files fr // }, // ], // }; - // const options = { // swaggerDefinition, // apis: ['./back/apps/app.js'],