From 511c3717d08b97c87f6d2945d324253c1c622b87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=B5=E1=84=8E=E1=85=A1=E1=86=AB=E1=84=8C?= =?UTF-8?q?=E1=85=B5=E1=86=AB?= Date: Tue, 11 Jan 2022 16:04:05 +0900 Subject: [PATCH 1/2] brach test --- src/index.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/index.js b/src/index.js index e388700..2822ff6 100644 --- a/src/index.js +++ b/src/index.js @@ -1,11 +1,11 @@ -const express = require("express"); +const express = require('express'); const app = express(); -const mongoose = require("mongoose"); -const cors = require("cors"); -const { TestRouter } = require("./routes"); -const { customResponse } = require("./utils/customResponse"); -const { errorHandler, errorLoger } = require("./middleware"); -const dotenv = require("dotenv"); +const mongoose = require('mongoose'); +const cors = require('cors'); +const { TestRouter } = require('./routes'); +const { customResponse } = require('./utils/customResponse'); +const { errorHandler, errorLoger } = require('./middleware'); +const dotenv = require('dotenv'); //커스텀 리스폰스 설정 app.response = Object.create(customResponse); dotenv.config(); @@ -19,7 +19,7 @@ const server = async () => { JWT_KEY_ADMIN_ACCESS, JWT_KEY_MESSAGE, JWT_KEY_FRONT_ACCESS, - NODE_ENV, + NODE_ENV } = process.env; console.log(NODE_ENV); @@ -30,7 +30,7 @@ const server = async () => { !JWT_KEY_MESSAGE || !JWT_KEY_FRONT_ACCESS ) - throw new Error("환경변수가 제대로 설정되지 않음"); + throw new Error('환경변수가 제대로 설정되지 않음 ..'); await mongoose.connect(MONGO_URI, {}); // debug mode app.use(cors()); @@ -45,7 +45,7 @@ const server = async () => { app.use(errorLoger); app.use(errorHandler); app.listen(PORT, async () => { - console.log("server on."); + console.log('server on.'); }); } catch (err) { console.log(err); From 1afdc9cc34ebce9934c21aa1dd58faea2422bc7f Mon Sep 17 00:00:00 2001 From: Chan Jin Date: Mon, 24 Jan 2022 17:22:14 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=9D=B4=EB=A6=84=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/{RouteAdminTicketsinfo.js => RouteAdminTicketsInfo.js} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/routes/{RouteAdminTicketsinfo.js => RouteAdminTicketsInfo.js} (100%) diff --git a/src/routes/RouteAdminTicketsinfo.js b/src/routes/RouteAdminTicketsInfo.js similarity index 100% rename from src/routes/RouteAdminTicketsinfo.js rename to src/routes/RouteAdminTicketsInfo.js