Configure CORS for Azure Functions Local Host

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Configure CORS for Azure Functions Local Host

Message par Clippy »

Configure CORS for Azure Functions Local Host
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: Configure CORS for Azure Functions Local Host

Message par Clippy »

You can start the host like this

```
func host start --cors *

```

You can also be more specific and provide a comma delimited list of allowed urls

More here: [https://github.com/Azure/azure-webjobs-sdk-script/issues/1012](https://github.com/Azure/azure-webjobs-sdk-script/issues/1012)
Répondre

Revenir à « Azure Infrastructure »