From 7c274bf31f17a7c8b8603e61050f4c25b99d21a5 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Thu, 15 Oct 2020 17:23:47 +0200 Subject: [PATCH] fix(@angular/cli): add missing dev-server `headers` option in IDE schema --- packages/angular/cli/lib/config/schema.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/angular/cli/lib/config/schema.json b/packages/angular/cli/lib/config/schema.json index aff93af8a334..c8e163d12103 100644 --- a/packages/angular/cli/lib/config/schema.json +++ b/packages/angular/cli/lib/config/schema.json @@ -1183,6 +1183,16 @@ "description": "Host to listen on.", "default": "localhost" }, + "headers": { + "type": "object", + "description": "Custom HTTP headers to be added to all responses.", + "propertyNames": { + "pattern": "^[-_A-Za-z0-9]+$" + }, + "additionalProperties": { + "type": "string" + } + }, "proxyConfig": { "type": "string", "description": "Proxy configuration file."