Skip to content

Commit

Permalink
[INTERNAL] Apply suggestions from UA review
Browse files Browse the repository at this point in the history
Co-authored-by: Günter Klatt <[email protected]>
  • Loading branch information
RandomByte and KlattG authored Jul 10, 2023
1 parent 04663c6 commit 8d68966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/extensibility/CustomServerMiddleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ In this case, a `middlewareUtil` object is provided as a part of the custom midd

In the latter case, any custom middleware configured in the default `ui5.yaml` of the project will be used automatically.

However, since Karma uses the [`connect`](https://github.com/senchalabs/connect) framework, as opposed to UI5 Tooling's [`express`](https://github.com/expressjs/express), custom middleware might not always work as expected. Compared to `connect`, the `express` framework provides a greater API to middleware.
However, since Karma uses the [`connect`](https://github.com/senchalabs/connect) framework, as opposed to UI5 Tooling's [`express`](https://github.com/expressjs/express), custom middleware might not always work as expected. Compared to `connect`, the `express` framework provides a more versatile API to middleware.

Therefore, if you plan to use custom middleware in an integrated scenario with `karma-ui5`, you must **restrict the middleware to using the [`connect`](https://github.com/senchalabs/connect) API only** to ensure compatibility.

Expand Down

0 comments on commit 8d68966

Please sign in to comment.