From e0e3c2d043f0142f425cc8b822533a6a734c58e2 Mon Sep 17 00:00:00 2001 From: Jan-Pieter George Date: Tue, 21 Oct 2025 09:51:21 -0700 Subject: [PATCH] Update function template to enforce HTTPS and remove CORS Removed CORS configuration and enforced HTTPS. --- azure/eventhub_log_forwarder/function_template.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/azure/eventhub_log_forwarder/function_template.json b/azure/eventhub_log_forwarder/function_template.json index a3caf771..8277748d 100644 --- a/azure/eventhub_log_forwarder/function_template.json +++ b/azure/eventhub_log_forwarder/function_template.json @@ -92,12 +92,8 @@ "properties": { "name": "[parameters('functionAppName')]", "clientAffinityEnabled": false, + "httpsOnly": true, "siteConfig": { - "cors": { - "allowedOrigins": [ - "*" - ] - }, "appSettings": [ { "name": "FUNCTIONS_EXTENSION_VERSION",