Skip to content

After calling builder.AddAzureKeyVault() custom function route Prefix is reset to default #2

@bigeasy77

Description

@bigeasy77

I have a custom prefix set up for my function in host.json file:
{ "version": "2.0", "extensions": { "http": { "routePrefix": "" } } }

So this means there should be no prefix and my function URL should look like
https://<hostname>/myendpoint
instead of default "api" prefix
https://<hostname>/api/myendpoint

But whenever I call builder.AddAzureKeyVault(...) in my Startup the custom prefix value is not taken into account and the default 'api' prefix is added

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions