From 1aa5ab42bfb6f916e4fa78c744d24d34dfa51734 Mon Sep 17 00:00:00 2001 From: Kirigaya <1193466151@qq.com> Date: Sun, 20 Oct 2024 21:32:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=BA=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main.ts b/src/main.ts index 4dd47ee..4b08bf3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -16,11 +16,8 @@ const app = express(); app.use(express.json()); app.use(cors(corsOptions)); -app.use(bodyParser.json()); -app.use(bodyParser.urlencoded({ extended: true })); app.use(morgan('dev')); - app.get('/', (req: Request, res: Response) => { res.send('

Hello, World!


'); });