Raynald Messié

Results 13 comments of Raynald Messié

just replace {workspaceId} by * ex : Endpoint": "\*:/workspaces/{workspaceId}/alerts/{alertId}", becomes Endpoint": "\*:/workspaces/\*/alerts/\*",

@raman-m commented [on May 9](https://github.com/ThreeMammals/Ocelot/issues/1314#issuecomment-2102898289): >@RaynaldM Useful? It is

> My understanding this PR should be merged first before #1914 ... right? Exactly, it is an intermediate step

![image](https://github.com/ThreeMammals/Ocelot/assets/606401/12d2f668-ead7-43e5-a066-dbb447d0c63f) What more can I do? it works locally

It is a conflict with my own code :)

To support the OPTIONS and pre-flight request, we just add an AddCors ```csharp services.AddCors(); services.AddOcelot(_config) // global cors policy app.UseCors(static x => x .AllowAnyOrigin() .AllowAnyMethod() .AllowAnyHeader() .DisallowCredentials() ); ```

Absolutely not. "Ocelot" configurations can be very long, and mixing them up in appsettings.json seems counter-productive. Even if you could make one or more partial appsettings.ocelot.json files, I don't see...

I'm not an expert, and I haven't explored it thoroughly, but I think Tom has made full use of the standard configurationBuilder, and that, if you like, you can already...