Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
shamilovtim committed Aug 7, 2024
1 parent 64edc56 commit 36f197a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 36f197a

Please sign in to comment.