diff --git a/examples/cactus-example-carbon-accounting-backend/example-config.json b/examples/cactus-example-carbon-accounting-backend/example-config.json index eaa5ec4995..7790a1672d 100644 --- a/examples/cactus-example-carbon-accounting-backend/example-config.json +++ b/examples/cactus-example-carbon-accounting-backend/example-config.json @@ -16,7 +16,7 @@ "apiTlsClientCaPem": "-", "cockpitHost": "127.0.0.1", "cockpitPort": 3000, - "cockpitWwwRoot": "packages/cactus-cmd-api-server/node_modules/@hyperledger/cactus-cockpit/www/", + "cockpitWwwRoot": "", "cockpitCorsDomainCsv": "", "cockpitMtlsEnabled": false, "cockpitTlsEnabled": true, diff --git a/packages/cactus-cmd-api-server/src/main/typescript/config/config-service.ts b/packages/cactus-cmd-api-server/src/main/typescript/config/config-service.ts index 2899cbbfee..c8a7c44470 100644 --- a/packages/cactus-cmd-api-server/src/main/typescript/config/config-service.ts +++ b/packages/cactus-cmd-api-server/src/main/typescript/config/config-service.ts @@ -259,12 +259,11 @@ export class ConfigService { default: 3000, }, cockpitWwwRoot: { - doc: "The file-system path pointing to the static files of web application served as the cockpit by the API server.", + doc: "The file-system path pointing to the static files of web application served as the cockpit by the API server. NOTE: The @hyperledger/cactus-cockpit package has been removed from this repository. This configuration option is deprecated and its default value is now an empty string. If you still use a custom cockpit UI, provide a valid path via this setting or the COCKPIT_WWW_ROOT environment variable.", format: "*", env: "COCKPIT_WWW_ROOT", arg: "cockpit-www-root", - default: - "packages/cactus-cmd-api-server/node_modules/@hyperledger/cactus-cockpit/www/", + default: "", }, cockpitCorsDomainCsv: { doc: