From 757c7f752b6f7089d3fec9018b7a31b03cfcf005 Mon Sep 17 00:00:00 2001 From: danielpeintner Date: Thu, 21 Sep 2023 09:09:40 +0200 Subject: [PATCH] Update README.md with UrlRewrite --- packages/binding-http/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/binding-http/README.md b/packages/binding-http/README.md index a3274097c..7a8ae326d 100644 --- a/packages/binding-http/README.md +++ b/packages/binding-http/README.md @@ -186,6 +186,7 @@ The protocol binding can be configured using his constructor or trough servient serverCert?: string; // HTTPs server certificate file security?: TD.SecurityScheme[]; // A list of possible security schemes to be used by things exposed by this servient. baseUri?: string // A Base URI to be used in the TD in cases where the client will access a different URL than the actual machine serving the thing. [See Using BaseUri below] + urlRewrite?: Record // A record to allow for other URLs pointing to existing endpoints, e.g., { "/myroot/myUrl": "/test/properties/test" } middleware?: MiddlewareRequestHandler; // the MiddlewareRequestHandler function. See [Adding a middleware] section below. } ```