Skip to content

Commit e0e3c2d

Browse files
authored
Update function template to enforce HTTPS and remove CORS
Removed CORS configuration and enforced HTTPS.
1 parent a0b61e4 commit e0e3c2d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

azure/eventhub_log_forwarder/function_template.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,8 @@
9292
"properties": {
9393
"name": "[parameters('functionAppName')]",
9494
"clientAffinityEnabled": false,
95+
"httpsOnly": true,
9596
"siteConfig": {
96-
"cors": {
97-
"allowedOrigins": [
98-
"*"
99-
]
100-
},
10197
"appSettings": [
10298
{
10399
"name": "FUNCTIONS_EXTENSION_VERSION",

0 commit comments

Comments
 (0)