ui5-middleware-hpm-proxy
v1.0.0
Published
UI5 Tooling middleware using http-proxy-middleware behind the scenes
Downloads
6
Readme
UI5 http-proxy-middleware based proxy
This is a middleware for [ui5-server] (https://github.com/SAP/ui5-server), enabling advanced proxy support.
Behind the scenes it leverage http-proxy-middleware and will use the same configuration format.
Install
npm install ui5-middleware-hpm-proxy --save-dev
yarn add ui5-middleware-hpm-proxy --dev
As the devDependencies are not recognized by the UI5 tooling, they need to be listed in the
ui5 > dependencies
array. In addition, once using theui5 > dependencies
array you need to list all UI5 tooling relevant dependencies.
- configure it in
$yourapp/ui5.yaml
:
server:
customMiddleware:
- name: ui5-middleware-hpm-proxy
afterMiddleware: compression
mountPath: /
configuration:
logProvider: "ui5"
logLevel: "info"