@sap/ux-ui5-tooling 1.8.4 → 1.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -180,6 +180,35 @@ FIORI_TOOLS_PASSWORD=YOUR_PASSWORD
180
180
  ```
181
181
  When the two environment variables `FIORI_TOOLS_USER` and `FIORI_TOOLS_PASSWORD` are defined, then they will be used as credentials when connecting to the backend service.
182
182
 
183
+ #### [Backend configuration options](#backend-configuration-options)
184
+
185
+ Here is the full list of the available configuration options for the backend proxy.
186
+ - `forward` (available with version 1.8.5): url string to be parsed with the url module
187
+ - `ws` (available with version 1.1.5): true/false: if you want to proxy websockets
188
+ - `xfwd` (available with version 1.1.9): true/false, adds x-forward headers
189
+ - `toProxy` (available with version 1.8.5): true/false, passes the absolute URL as the path (useful for proxying to proxies)
190
+ - `prependPath` (available with version 1.8.5): true/false, Default: true - specify whether you want to prepend the target's path to the proxy path
191
+ - `ignorePath` (available with version 1.8.5): true/false, Default: false - specify whether you want to ignore the proxy path of the incoming request (note: you will have to append / manually if required)
192
+ - `localAddress` (available with version 1.8.5): Local interface string to bind for outgoing connections
193
+ - `changeOrigin` (available with version 1.8.5): true/false, Default: true - changes the origin of the host header to the target URL
194
+ - `preserveHeaderKeyCase` (available with version 1.8.5): true/false, Default: false - specify whether you want to keep letter case of response header key
195
+ - `auth` (available with version 1.8.5): Basic authentication i.e. 'user:password' to compute an Authorization header
196
+ - `hostRewrite` (available with version 1.8.5): rewrites the location hostname on (301/302/307/308) redirects
197
+ - `autoRewrite` (available with version 1.8.5): rewrites the location host/port on (301/302/307/308) redirects based on requested host/port. Default: false
198
+ - `protocolRewrite` (available with version 1.8.5): rewrites the location protocol on (301/302/307/308) redirects to 'http' or 'https'. Default: null
199
+ - `cookieDomainRewrite` (available with version 1.8.5): rewrites domain of set-cookie headers. Possible values:
200
+ - false (default): disables cookie rewriting
201
+ - String: new domain, for example cookieDomainRewrite: "new.domain". To remove the domain, use cookieDomainRewrite: ""
202
+ - Object: mapping of domains to new domains, use "*" to match all domains
203
+ - `cookiePathRewrite` (available with version 1.8.5): rewrites path of set-cookie headers. Possible values:
204
+ - false (default): disable cookie rewriting
205
+ - String: new path, for example cookiePathRewrite: "/newPath/". To remove the path, use cookiePathRewrite: "". To set path to root use cookiePathRewrite: "/"
206
+ - Object: mapping of paths to new paths, use "*" to match all paths.
207
+ - `headers` (available with version 1.8.5): object, adds request headers
208
+ - `proxyTimeout` (available with version 1.8.5): timeout (in millis) when proxy receives no response from target
209
+ - `timeout` (available with version 1.8.5): timeout (in millis) for incoming requests
210
+ - `followRedirects` (available with version 1.8.5): true/false, Default: false - specify whether you want to follow redirects
211
+
183
212
  #### [UI5](#ui5)
184
213
 
185
214
  The proxy configuration contains also the configuration for loading the SAPUI5 resources when previewing the application, e.g.