From 36f197abe36a9f77b19c199e28ab56029a94e6ee Mon Sep 17 00:00:00 2001 From: Tim Shamilov Date: Wed, 7 Aug 2024 23:33:47 +0800 Subject: [PATCH] add comment --- src/http-api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http-api.ts b/src/http-api.ts index 8d1142b..7629237 100644 --- a/src/http-api.ts +++ b/src/http-api.ts @@ -84,7 +84,7 @@ export class HttpApi { #setupMiddleware(): void { this.#api.use(cors({ exposedHeaders: 'dwn-response' })); this.#api.use(express.json()); - this.#api.use(express.urlencoded({ extended: true })); + this.#api.use(express.urlencoded({ extended: true })); // formdata middleware this.#api.use( responseTime((req: Request, res: Response, time) => { const url = req.url === '/' ? '/jsonrpc' : req.url;