-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Milestone
Description
Currently, it checks whether to include requesting host name or not:
Line 39 in 1686213
| public virtual bool IncludeRequestingHostName { get; set; } = IsFunctionsRuntimeEnvironmentDevelopment(); |
by using the hosting environment of Development
Lines 108 to 113 in 1686213
| protected static bool IsFunctionsRuntimeEnvironmentDevelopment() | |
| { | |
| var development = Environment.GetEnvironmentVariable(FunctionsRuntimeEnvironmentKey) == "Development"; | |
| return development; | |
| } |
However, it would be more natural to change it to ExcludeRequstingHost and set to false by default.
Also, in addition to relying on the AZURE_FUNCTIONS_ENVIRONMENT value, devs can choose value through OpenApi__ExcludeRequestingHost.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request