diff --git a/docs/generated/packages/web/executors/file-server.json b/docs/generated/packages/web/executors/file-server.json index 4f47ced1fd667..861e46bdf8cf7 100644 --- a/docs/generated/packages/web/executors/file-server.json +++ b/docs/generated/packages/web/executors/file-server.json @@ -72,7 +72,7 @@ "description": "Path where the build artifacts are located. If not provided then it will be infered from the buildTarget executor options as outputPath" }, "cors": { - "type": "boolean", + "oneOf": [{ "type": "boolean" }, { "type": "string" }], "description": "Enable CORS", "default": true }, diff --git a/packages/web/src/executors/file-server/schema.json b/packages/web/src/executors/file-server/schema.json index 86c363bde9704..175c9b68e0211 100644 --- a/packages/web/src/executors/file-server/schema.json +++ b/packages/web/src/executors/file-server/schema.json @@ -74,7 +74,14 @@ "description": "Path where the build artifacts are located. If not provided then it will be infered from the buildTarget executor options as outputPath" }, "cors": { - "type": "boolean", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ], "description": "Enable CORS", "default": true },