diff --git a/about/index.md b/about/index.md index a82939053..f50ca9710 100644 --- a/about/index.md +++ b/about/index.md @@ -310,7 +310,7 @@ All behavioral aspects in CAP are based on ubiquitous notions of [Services](#ser Services in CAP are **stateless** and with a **minimal footprint**, which allows you to modularize solutions into single-purposed (nano) services or functions-as-a-service.
- +
Hexagonal Architecture à la CAP
diff --git a/node.js/cds-server.md b/node.js/cds-server.md index 56176902d..12185bbf6 100644 --- a/node.js/cds-server.md +++ b/node.js/cds-server.md @@ -237,7 +237,7 @@ The behavior of the built-in `server.js` can be customized through the options d ### CORS Middleware -The built-in CORS middleware can be enabled explicitly with `cds.server.cors = true`. By default, this is `false` if in production. +The built-in CORS middleware can be enabled explicitly with `cds.env.server.cors = true`. By default, this is `false` if in production. [Learn more about best practices regarding **Cross-Origin Resource Sharing (CORS)**.](../node.js/best-practices.md#cross-origin-resource-sharing-cors) {.learn-more} @@ -245,7 +245,7 @@ The built-in CORS middleware can be enabled explicitly with `cds.server.cors = t ### Toggle Generic Index Page -The default generic _index.html_ page is not served if `NODE_ENV` is set to `production`. Set `cds.server.index = true` to restore the generic index page in production. +The default generic _index.html_ page is not served if `NODE_ENV` is set to `production`. Set `cds.env.server.index = true` to restore the generic index page in production. [See the **Generic *index.html*** page in action.](../get-started/in-a-nutshell.md#generic-index-html) {.learn-more} @@ -281,4 +281,4 @@ This is useful when the expected request body sizes might vary for services with ## See Also... -The [`cds-plugin` package technique](cds-plugins) provides more options to customize server startup. \ No newline at end of file +The [`cds-plugin` package technique](cds-plugins) provides more options to customize server startup.